Search Unity

java.lang.VerifyError

Discussion in 'Android' started by alan_motionlab, Jun 5, 2017.

  1. alan_motionlab

    alan_motionlab

    Joined:
    Nov 27, 2014
    Posts:
    99
    Hi,

    We have just released an update to our game using Unity 5.6.1p1, but are seeing an increase in errors on Android 4.x showing the following message on Google Play:

    java.lang.VerifyError:
    at com.unity3d.player.UnityPlayerActivity.onCreate(Unknown Source:0)
    at com.unity3d.player.UnityPlayerNativeActivity.onCreate(Unknown Source:0)
    at android.app.Activity.performCreate(Activity.java:5302)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1090)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2228)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2313)
    at android.app.ActivityThread.access$1100(ActivityThread.java:141)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1238)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:136)
    at android.app.ActivityThread.main(ActivityThread.java:5336)
    at java.lang.reflect.Method.invokeNative(Native Method:0)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:681)
    at dalvik.system.NativeStart.main(Native Method:0)

    Thats unfortunately the extent of the errors in Google Play. I'm using Performance Monitor as well within Unity, but that isn't flagging these issues.

    Thanks,

    Alan
     
    ilovebread likes this.
  2. ilovebread

    ilovebread

    Joined:
    Jun 8, 2015
    Posts:
    6
    I'm currently encountering a similar error when selecting Amazon as UnityIAP target platform
     
  3. ilovebread

    ilovebread

    Joined:
    Jun 8, 2015
    Posts:
    6
    Have you worked around this issue?
     
  4. GabrielZulPPL

    GabrielZulPPL

    Joined:
    Jul 13, 2017
    Posts:
    1
    I'm having this problem right now, did anyone find a solution?
     
  5. benbenmushi

    benbenmushi

    Joined:
    Jan 29, 2013
    Posts:
    34
    Hello guys,

    I was also Struggling with this error on 4.x version of Android
    After some research I found out this might be related to MultiDex. See this post.

    Solved the problem for me. The application is now running for Androids on 4.x
     
    ercion and GabrielZulPPL like this.
  6. Kujo87

    Kujo87

    Joined:
    Sep 16, 2013
    Posts:
    168
    What did you do to fix it, as this is an android app post?