Share via


Checksum mismatch for dex base.apk

Question

Tuesday, October 29, 2019 1:01 AM

Hi, when i try to start my app is showing me the following Output and the application never starts

Loaded assembly: Newtonsoft.Json.dll [External] Loaded assembly: System.Net.Http.Extensions.dll [External] Loaded assembly: System.Net.Http.Primitives.dll [External] 10-28 18:50:34.905 I/zygote (25825): Not late-enabling -Xcheck:jni (already on) 10-28 18:50:34.955 W/zygote (25825): Unexpected CPU variant for X86 using defaults: x86 10-28 18:50:35.089 W/zygote (25825): Attempt to remove non-JNI local reference, dumping threadLoaded assembly: Xamarin.Android.Arch.Core.Common.dll [External]

10-28 18:50:35.089 W/monodroid(25825): Creating public update directory: /data/user/0/com.companyname.matriculav4/files/.__override__ 10-28 18:50:35.089 W/monodroid(25825): Using override path: /data/user/0/com.companyname.matriculav4/files/.override 10-28 18:50:35.090 W/monodroid(25825): Using runtime path: /data/app/Mono.Android.DebugRuntime-UW27OQR6UlSFB5vHXyH-8Q==/lib/x86 10-28 18:50:35.090 W/monodroid(25825): checking directory: /data/user/0/com.companyname.matriculav4/files/.__override__/lib 10-28 18:50:35.090 W/monodroid(25825): directory does not exist: /data/user/0/com.companyname.matriculav4/files/.__override__/lib 10-28 18:50:35.090 W/monodroid(25825): checking directory: /storage/emulated/0/Android/data/com.companyname.matriculav4/files/.__override__/lib 10-28 18:50:35.090 W/monodroid(25825): directory does not exist: /storage/emulated/0/Android/data/com.companyname.matriculav4/files/.__override__/lib

10-28 18:50:39.028 W/OpenGLRenderer(25825): Failed to choose config with EGLSWAPBEHAVIORPRESERVED, retrying without... 10-28 18:50:39.028 D/OpenGLRenderer(25825): Swap behavior 0 10-28 18:50:39.115 D/EGLemulation(25825): eglCreateContext: 0x9b090860: maj 3 min 0 rcv 3 10-28 18:50:39.186 D/EGLemulation(25825): eglMakeCurrent: 0x9b090860: ver 3 0 (tinfo 0x862cbbd0) 10-28 18:50:39.189 E/eglCodecCommon(25825): glUtilsParamSize: unknow param 0x00008cdf 10-28 18:50:39.190 E/eglCodecCommon(25825): glUtilsParamSize: unknow param 0x00008cdf 10-28 18:50:39.190 E/eglCodecCommon(25825): glUtilsParamSize: unknow param 0x00008824 10-28 18:50:39.191 E/eglCodecCommon(25825): glUtilsParamSize: unknow param 0x00008824 10-28 18:50:39.299 D/EGLemulation(25825): eglMakeCurrent: 0x9b090860: ver 3 0 (tinfo 0x862cbbd0) 10-28 18:50:39.463 D/EGLemulation(25825): eglMakeCurrent: 0x9b090860: ver 3 0 (tinfo 0x862cbbd0) 10-28 18:50:39.545 D/EGLemulation(25825): eglMakeCurrent: 0x9b090860: ver 3 0 (tinfo 0x862cbbd0) 10-28 18:50:39.593 D/EGLemulation(25825): eglMakeCurrent: 0x9b090860: ver 3 0 (tinfo 0x862cbbd0) 10-28 18:50:39.598 W/View (25825): dispatchProvideAutofillStructure(): not laid out, ignoring 10-28 18:50:39.604 I/AssistStructure(25825): Flattened final assist data: 2564 bytes, containing 1 windows, 9 views 10-28 18:51:06.222 I/zygote (25825): Do partial code cache collection, code=30KB, data=25KB 10-28 18:51:06.222 I/zygote (25825): After code cache collection, code=30KB, data=25KB 10-28 18:51:06.223 I/zygote (25825): Increasing code cache capacity to 128KB 10-28 18:51:20.057 W/zygote (25825): Checksum mismatch for dex base.apk 10-28 18:51:20.057 W/zygote (25825): Checksum mismatch for dex base.apk 10-28 18:51:50.058 I/zygote (25825): Do partial code cache collection, code=61KB, data=47KB 10-28 18:51:50.058 I/zygote (25825): After code cache collection, code=61KB, data=47KB 10-28 18:51:50.058 I/zygote (25825): Increasing code cache capacity to 256KB 10-28 18:52:00.061 W/zygote (25825): Checksum mismatch for dex base.apk 10-28 18:52:00.061 W/zygote (25825): Checksum mismatch for dex base.apk 10-28 18:52:40.063 W/zygote (25825): Checksum mismatch for dex base.apk 10-28 18:53:20.066 I/chatty (25825): uid=10084(u0a84) Profile Saver identical 2 lines 10-28 18:53:20.067 W/zygote (25825): Checksum mismatch for dex base.apk 10-28 18:54:00.070 W/zygote (25825): Checksum mismatch for dex base.apk 10-28 18:54:00.070 W/zygote (25825): Checksum mismatch for dex base.apk

I would be great if you can help me, all of my process and methods are running in threads and are async

All replies (3)

Tuesday, October 29, 2019 2:29 AM

@NeidennX

I am not certain that that error message is the true reason that your app is not launching.

You might need to provide a test project that reproduces the issue to be able to debug what is going on.

Feel free to open a free Xamarin support case where a Xamarin support engineer can help you one on one and yu can provide code privately and securely.

You can open a free Xamarin support case here: https://support.microsoft.com/en-us/supportforbusiness/productselection?sapId=211dd84f-3474-c3c5-79bf-66db630c92a6


Friday, May 22, 2020 7:33 AM

Same problem here but only once when I click my custom Renderer for Android. Reproducing will prove to very difficult. I've got 2 solutions. In the one (the smaller that I could send you) it's working perfectly. In the other (the bigger project) It's not. I can pinpoint this to be on a custom control I'm writing and debugging right now. I've created a question on StackOverflow here. If you go there. I've already concluded it is not in the Slider class


Friday, May 22, 2020 8:55 AM

This message is misleading. It just happened to coincide with my click on the Control I'm debugging. So forget what I said.