Search Unity

Android app crashes, after updating unity

Discussion in 'Package Manager' started by rpuls, Mar 11, 2019.

  1. rpuls

    rpuls

    Joined:
    Feb 3, 2017
    Posts:
    62
    Hope this is the correct forum area. I'm really bad at deciphering these kinds of logs! Hope that someone can point me in the right direction. Yesterday i updated unity through the Unity Hub, which i never done before. After doing so, I did in fact see a few warnings about some deprecated UnityEnginge.WWW. But build went totally fine. the apk however does not seem to work. It does not open the app, and when i tap the app icon i get the dialog "app keeps crashing", It's a bit vague to me what could be the problem as Unity tells me everything went fine.

    I used command:
    Code (terminal):
    1. adb logcat -s Unity PackageManager dalvikvm DEBUG
    As someone suggested in a troubleshooting post. These are the logs I got, in the bottom there is a section:
    --------- beginning of crash

     
  2. rpuls

    rpuls

    Joined:
    Feb 3, 2017
    Posts:
    62
    These logs might be more relevant:
    Code (CSharp):
    1. 03-11 10:35:26.176 14816 14816 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.rpuls.blowfish/com.unity3d.player.UnityPlayerNativeActivity}: java.lang.ClassNotFoundException: Didn't find class "com.unity3d.player.UnityPlayerNativeActivity" on path: DexPathList[[zip file "/data/app/com.rpuls.blowfish-vLKVfhcG7PcuEbFkhRra0g==/base.apk"],nativeLibraryDirectories=[/data/app/com.rpuls.blowfish-vLKVfhcG7PcuEbFkhRra0g==/lib/arm, /data/app/com.rpuls.blowfish-vLKVfhcG7PcuEbFkhRra0g==/base.apk!/lib/armeabi-v7a, /system/lib]]
    2. 03-11 10:35:26.176 14816 14816 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.unity3d.player.UnityPlayerNativeActivity" on path: DexPathList[[zip file "/data/app/com.rpuls.blowfish-vLKVfhcG7PcuEbFkhRra0g==/base.apk"],nativeLibraryDirectories=[/data/app/com.rpuls.blowfish-vLKVfhcG7PcuEbFkhRra0g==/lib/arm, /data/app/com.rpuls.blowfish-vLKVfhcG7PcuEbFkhRra0g==/base.apk!/lib/armeabi-v7a, /system/lib]]
    3. 03-11 10:36:00.275 14953 14953 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.rpuls.blowfish/com.unity3d.player.UnityPlayerNativeActivity}: java.lang.ClassNotFoundException: Didn't find class "com.unity3d.player.UnityPlayerNativeActivity" on path: DexPathList[[zip file "/data/app/com.rpuls.blowfish-vLKVfhcG7PcuEbFkhRra0g==/base.apk"],nativeLibraryDirectories=[/data/app/com.rpuls.blowfish-vLKVfhcG7PcuEbFkhRra0g==/lib/arm, /data/app/com.rpuls.blowfish-vLKVfhcG7PcuEbFkhRra0g==/base.apk!/lib/armeabi-v7a, /system/lib]]
    4. 03-11 10:36:00.275 14953 14953 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.unity3d.player.UnityPlayerNativeActivity" on path: DexPathList[[zip file "/data/app/com.rpuls.blowfish-vLKVfhcG7PcuEbFkhRra0g==/base.apk"],nativeLibraryDirectories=[/data/app/com.rpuls.blowfish-vLKVfhcG7PcuEbFkhRra0g==/lib/arm, /data/app/com.rpuls.blowfish-vLKVfhcG7PcuEbFkhRra0g==/base.apk!/lib/armeabi-v7a, /system/lib]]
    5. 03-11 10:36:00.283  1366  3597 W ActivityManager:   Force finishing activity com.rpuls.blowfish/com.unity3d.player.UnityPlayerNativeActivity
    6. 03-11 10:36:00.790  1366  1397 W ActivityManager: Activity pause timeout for ActivityRecord{b517c4a u0 com.rpuls.blowfish/com.unity3d.player.UnityPlayerNativeActivity t857 f}
    7. 03-11 10:36:10.900  1366  1397 W ActivityManager: Activity destroy timeout for ActivityRecord{b517c4a u0 com.rpuls.blowfish/com.unity3d.player.UnityPlayerNativeActivity t857 f}
    8. 03-11 10:36:10.912   811   917 W SurfaceFlinger: Attempting to destroy on removed layer: AppWindowToken{7e094d8 token=Token{cca7bb ActivityRecord{b517c4a u0 com.rpuls.blowfish/com.unity3d.player.UnityPlayerNativeActivity t857}}}#0
     
  3. rpuls

    rpuls

    Joined:
    Feb 3, 2017
    Posts:
    62
  4. ethan_jl_unity

    ethan_jl_unity

    Unity Technologies

    Joined:
    Sep 27, 2018
    Posts:
    81
    Thanks for linking the solution here. :)
     
unityunity