Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line login issue #8

Open
kenshinzz opened this issue Jun 29, 2017 · 3 comments
Open

Line login issue #8

kenshinzz opened this issue Jun 29, 2017 · 3 comments

Comments

@kenshinzz
Copy link

when I login with line sdk android I've got white dialog
"Error"
"An unknow error occurred."

what is this error ?

what should I do now?

Everything in channel is all set and matched

I think line sdk for android is too much problem

@mrmaakun
Copy link
Contributor

Hi @kenshinzz

This error occurs when you try to do App-to-App login and there are incorrect channel settings. It looks like you've already looked at the channel settings, but you should check the following items one last time:

  • Does the Channel ID that you set in the Android application match your Channel ID in the channel console?
  • Does the Android package name that you set in the Channel Console's "Technical Configuration" section match the application's package name?
  • Is the channel status set to "DEVELOPING" or "PUBLISHED"?
  • If the channel status is set to "DEVELOPING", is your LINE account registered in the channel's Roles section?

If the problem occurs after checking the above items one last time, could you post more details about the problem? For example:

  • The version of the LINE Android SDK
  • The device and version of Android that the device running
  • Any error stack traces or logs

@kenshinzz
Copy link
Author

  • Version of LINE Android SDK that I use is 4.0.5 (My channel id is 1464665687)
    I've upgraded this sdk from version 3.1.19 which is working on my application on playstore.
    My channel and configuration has not changed
  • Error stack trace just shown "Unknow error" and white dialog as i said above
  • Device is Samsung Galaxy S5
  • I've checked as your suggestion
    my channel status is already PUBLISHED and all technical configuration is all matched

@mrmaakun
Copy link
Contributor

@kenshinzz

It looks you are trying to register multiple Android Package Names to your channel as a comma separated list. Each channel can only have one Android Package Name associated to it. SDK v3.1.19 probably worked because it was not strictly checking the value set in the Channel Console.

You should be able to log in if you change the package name in the Channel Console so that it only contains your SDK 4.0.5 application's package name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants