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
Everythings setup but it's crashing on start? #30
Comments
Hello @SimplisticApps, The first thing to do is to download the Android app and then run it from scratch. It should compile as the configuration has been set up correctly to our systems. If you can confirm that the base project compiles then we can narrow down whether the error is coming from the project or some modifications you have made to it. The next thing to do is watch the youtube video of adding the project to your project. You can find it here. This will go through adding the Android to your custom project. Once you have completed this you should be able to compile your project including the Android Chat SDK. The corresponding tutorial can be found on our wiki page here. If you can go through those steps first and then comment back on this thread it will help narrow down a lot of the issues that might be causing this error. Simon |
Hi, thanks for replying. Update: So i decided to do what you said and start from scratch and try everything again this time with everything right, nothing has been modified or added other than the setup code but I still get an error, this time the error is on line: 44 on
Update 2: The app and SDK is now working as it should do! Thanks for you're help Simon! |
Hello can you please tell me how you remove that error in lineenableFacebookIntegration(getNetworkAdapter().facebookEnabled());. |
Every time i try to run the app i get this error:
E/AndroidRuntime: FATAL EXCEPTION: main Process: com.skintmedia.voice, PID: 15447 java.lang.RuntimeException: Unable to resume activity {com.skintmedia.voice/com.braunster.chatsdk.activities.ChatSDKLoginActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.facebook.UiLifecycleHelper.onResume()' on a null object reference at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3121) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3152) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2499) at android.app.ActivityThread.access$900(ActivityThread.java:157) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1356) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5551) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.facebook.UiLifecycleHelper.onResume()' on a null object reference at com.braunster.chatsdk.activities.ChatSDKBaseActivity.onResume(ChatSDKBaseActivity.java:182) at com.braunster.chatsdk.activities.abstracted.ChatSDKAbstractLoginActivity.onResume(ChatSDKAbstractLoginActivity.java:63) at com.braunster.chatsdk.activities.ChatSDKLoginActivity.onResume(ChatSDKLoginActivity.java:107) at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1259) at android.app.Activity.performResume(Activity.java:6347) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3110) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3152) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2499) at android.app.ActivityThread.access$900(ActivityThread.java:157) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1356) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5551) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
But i don't know why?
The text was updated successfully, but these errors were encountered: