line / line-sdk-android

LINE SDK for Android lets you integrate LINE into your Android app to create a more engaging experience for your users.
https://developers.line.biz/en/docs/android-sdk/
Apache License 2.0
133 stars 45 forks source link

channel id is empty #136

Open SerBad opened 1 year ago

SerBad commented 1 year ago

I found crash on online version.I check my code, I set currect chennel Id when launch line. Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{/com.linecorp.linesdk.openchat.ui.CreateOpenChatActivity}: java.lang.IllegalArgumentException: channel id is empty at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2951) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3086) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1816) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:6718) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

plateaukao commented 1 year ago

Hi, @SerBad Please help to provide a sample app that could reproduce the issue you mentioned, so that we could look into this issue much faster. Thank you.

Also, you should not create LINE SDK related Activities directly. Please refer to sample app about how to use LINE SDK.