-
Notifications
You must be signed in to change notification settings - Fork 27
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
Calling LineLoginApi.getLoginIntent getting ActivityNotFoundException #4
Comments
Can you try using the latest version of the LINE SDK (4.0.2)? Some fixes were made to resolve some issues with Android 4.x. Also, were you able to reproduce this in this starter as it is? I tested the starter on a Galaxy S4 and I didn't see this problem. |
Hi @mrmaakun Thanks for the response. Yes im using SDK(4.0.2) the issue has been solved. |
We made another update to the SDK that may help resolve this issue. Can you try LINE SDK 4.0.4 to see if it resolves this problem? |
Hi @mrmaakun here is the code:
and here is the stack trace: FATAL EXCEPTION: main |
+1 |
@mrmaakun Hi, mrmaakun, this problem is caused by Google changing ActivityCompat's API. ActivityCompat#startActivity is removed in the latest version. Will you please upgrade appcompat lib of line sdk and sample to fix this problem? thx :) |
Hi @XavierSAndroid , Thank you for the reply. |
@zack-barakat my bad. I should have given this information to developers of this lib : ) |
Any expected date for new update? |
Thanks for bringing this issue up. We will look into it and try to have something in the next week or so. |
I apologize for the wait. We released LINE SDK for Android version 4.0.5 to the developer center. This version should fix the startActivity problem. Please check it out. |
@mrmaakun Thank you for your response. |
SDK Version: 4.0.2
Device Model: Samsung S4
Here is stack trace:
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=https://access.line.me/dialog/oauth/weblogin?response_type=code&client_id=1509810234&state=sn1XUQ99mS0&otpId=7O3NQAgKclnwKUl+ej6/gT8KUd0=&redirect_uri=intent://result#Intent;package=com.gobike.consumer.stg;scheme=lineauth;end pkg=jp.naver.line.android }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1801)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1499)
at android.app.Activity.startActivityForResult(Activity.java:3942)
at android.support.v4.app.ActivityCompatJB.startActivityForResult(ActivityCompatJB.java:26)
at android.support.v4.app.ActivityCompat.startActivityForResult(ActivityCompat.java:146)
at com.linecorp.linesdk.auth.internal.c$c.onPostExecute(SourceFile:1120)
at android.os.AsyncTask.finish(AsyncTask.java:632)
at android.os.AsyncTask.access$600(AsyncTask.java:177)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:645)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5951)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Anyone has idea?
The text was updated successfully, but these errors were encountered: