Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

"Game Name has stopping" problem with unity 2018.2.2f

Discussion in 'Editor & General Support' started by berpicasa23, Aug 13, 2018.

  1. berpicasa23

    berpicasa23

    Joined:
    Jan 25, 2014
    Posts:
    10
    Hello guys. This is my first time writing here and I hope i can have an answer soon to my problem. It is related to UnityEditor. Android. I'm working on Android and I made an .apk of my project with Unity 2018.2.2f. After I installed my .apk, I tried to open it, and a message shows up, "nameapp has stopping". I have not idea about the problem and where to look at it. My app was working fine before, because I tested it several times. After I updated Unity from 2018.1.9 to 2018.2.2f, it is where this problem appears. Sometimes, Unity shows me an error on console and I think that might be my problem but I don't know where to look at it. I'm attaching an image of the error message. Please, I would appreciate any help. Thanks
     

    Attached Files:

  2. berpicasa23

    berpicasa23

    Joined:
    Jan 25, 2014
    Posts:
    10
    From logcat:
    08-13 19:37:42.062 6562-6562/? E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.oematrixlatam.oematrix, PID: 6562
    java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/internal/zzbq;
    at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source:2)
    at android.app.ActivityThread.installProvider(ActivityThread.java:6572)
    at android.app.ActivityThread.installContentProviders(ActivityThread.java:6127)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6037)
    at android.app.ActivityThread.-wrap1(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1764)
    at android.os.Handler.dispatchMessage(Handler.java:105)
    at android.os.Looper.loop(Looper.java:164)
    at android.app.ActivityThread.main(ActivityThread.java:6938)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
    Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.internal.zzbq" on path: DexPathList[[zip file "/data/app/com.oematrixlatam.oematrix-Y82D60CRzNnMzklWGDNosw==/base.apk"],nativeLibraryDirectories=[/data/app/com.oematrixlatam.oematrix-Y82D60CRzNnMzklWGDNosw==/lib/arm, /data/app/com.oematrixlatam.oematrix-Y82D60CRzNnMzklWGDNosw==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source:2)
    at android.app.ActivityThread.installProvider(ActivityThread.java:6572)
    at android.app.ActivityThread.installContentProviders(ActivityThread.java:6127)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6037)
    at android.app.ActivityThread.-wrap1(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1764)
    at android.os.Handler.dispatchMessage(Handler.java:105)
    at android.os.Looper.loop(Looper.java:164)
    at android.app.ActivityThread.main(ActivityThread.java:6938)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
     
  3. berpicasa23

    berpicasa23

    Joined:
    Jan 25, 2014
    Posts:
    10
    Where is the error?
     
  4. berpicasa23

    berpicasa23

    Joined:
    Jan 25, 2014
    Posts:
    10
    The problem was solved. I had to delete Firebase folder in my project. I think Unity 2018 changed it for some reason. Good ways to find these kind of erros are Logcat and Assets->Play Service Resolver->Android Resolver->Force Resolve. In case you are using libraries like Firebase.