- Home /
Unity apk crach on launch (even before the splash screen), this start after import facebook sdk ,Unity apk crash before launch, after i import facebook sdk.
Please someone needs help me with this, i tried a lot of things in other foruns asks like change the menifest, search for duplicate libraries and build with proguard after adding some lines, like in this link: " https://www.gitmemory.com/issue/facebook/facebook-sdk-for-unity/294/522680232 ". I anyone could give i new ideia to try, i would be grateful.
Here is the logcat of the error:
11-18 06:52:04.200 2758 6733 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.Studio.Game/com.unity3d.player.UnityPlayerActivity bnds=[640,628][839,894]} from uid 10050 11-18 06:52:04.224 2758 6939 I ActivityManager: Start proc 15445:com.Studio.Game/u0a415 for activity com.Studio.Game/com.unity3d.player.UnityPlayerActivity 11-18 06:52:04.271 15445 15445 D AndroidRuntime: Shutting down VM 11-18 06:52:04.272 15445 15445 E AndroidRuntime: FATAL EXCEPTION: main 11-18 06:52:04.272 15445 15445 E AndroidRuntime: Process: com.Studio.Game, PID: 15445 11-18 06:52:04.272 15445 15445 E AndroidRuntime: java.lang.RuntimeException: Unable to get provider com.facebook.FacebookContentProvider: java.lang.ClassNotFoundException: Didn't find class "com.facebook.FacebookContentProvider" on path: DexPathList[[zip file "/data/app/com.Studio.Game-gc6she2kVMFFVIMwBL2tYw==/base.apk"],nativeLibraryDirectories=[/data/app/com.Studio.Game-gc6she2kVMFFVIMwBL2tYw==/lib/arm, /data/app/com.Studio.Game-gc6she2kVMFFVIMwBL2tYw==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]] 11-18 06:52:04.272 15445 15445 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:6356) 11-18 06:52:04.272 15445 15445 E AndroidRuntime: at android.app.ActivityThread.installContentProviders(ActivityThread.java:5919) 11-18 06:52:04.272 15445 15445 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5836) 11-18 06:52:04.272 15445 15445 E AndroidRuntime: at android.app.ActivityThread.-wrap1(Unknown Source:0) 11-18 06:52:04.272 15445 15445 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1697) 11-18 06:52:04.272 15445 15445 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106) 11-18 06:52:04.272 15445 15445 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164) 11-18 06:52:04.272 15445 15445 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6626) 11-18 06:52:04.272 15445 15445 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 11-18 06:52:04.272 15445 15445 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) 11-18 06:52:04.272 15445 15445 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:811) 11-18 06:52:04.272 15445 15445 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.facebook.FacebookContentProvider" on path: DexPathList[[zip file "/data/app/com.Studio.Game-gc6she2kVMFFVIMwBL2tYw==/base.apk"],nativeLibraryDirectories=[/data/app/com.Studio.Game-gc6she2kVMFFVIMwBL2tYw==/lib/arm, /data/app/com.Studio.Game-gc6she2kVMFFVIMwBL2tYw==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]] 11-18 06:52:04.272 15445 15445 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125) 11-18 06:52:04.272 15445 15445 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:379) 11-18 06:52:04.272 15445 15445 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:312) 11-18 06:52:04.272 15445 15445 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:6341) 11-18 06:52:04.272 15445 15445 E AndroidRuntime: ... 10 more 11-18 06:52:04.276 2758 4026 W ActivityManager: Force finishing activity com.Studio.Game/com.unity3d.player.UnityPlayerActivity 11-18 06:52:04.279 2758 2781 I ActivityManager: Showing crash dialog for package com.Studio.Game u0 11-18 06:52:04.778 2758 2779 W ActivityManager: Activity pause timeout for ActivityRecord{6c79e9d u0 com.Studio.Game/com.unity3d.player.UnityPlayerActivity t568 f} 11-18 06:52:04.783 2758 2779 I ActivityManager: moveHomeStack, setupComplete:true 11-18 06:52:05.065 2758 2779 I ActivityManager: Killing 14417:com.android.providers.calendar/u0a17 (adj 906): empty #17 11-18 06:52:08.002 2758 4026 W ActivityManager: Force finishing activity com.Studio.Game/com.unity3d.player.UnityPlayerActivity 11-18 06:52:08.004 2758 4026 I ActivityManager: Killing 15445:com.Studio.Game/u0a415 (adj 900): crash 11-18 06:52:11.117 2758 6939 I ActivityManager: Start proc 15509:com.snapchat.android/u0a333 for service com.snapchat.android/com.firebase.jobdispatcher.GooglePlayReceiver
Your answer
Follow this Question
Related Questions
White screen freeze and crash on Android 0 Answers
Facebook Login restarts app on android 0 Answers
Unity refuses to open on my mac! 3 Answers
My game made by unity 2017.1.0f3 crash on launch on phone -1 Answers
I am Facing lot of crashes in m game how to fix it? 0 Answers