我的apk安装并在xPeria Active(Android 2.3.4)上正常运行。但是在三星GT-S6102(Android 2.3.6)上,我在尝试安装时遇到了这个错误:
Installation error: INSTALL_FAILED_DEXOPT
Please check logcat output for more details.
Launch canceled!
我尝试重新启动手机并使用我的签名卸载所有应用程序,但这没有帮助。 apk只有3 MB大小,手机上有100 MB可用空间。
logcat显示以下错误:
E/PackageManager(1525): Package com.mopub.simpleadsdemo has mismatched uid: 10071 on disk, 10068 in settings
E/dalvikvm(2220): LinearAlloc exceeded capacity (5242880), last=1352
E/dalvikvm(2220): VM aborting
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/GT-S6102/GT-S6102:2.3.6/GINGERBREAD/XXMA3:user/release-keys'
pid: 2220, tid: 2220 >>> /system/bin/dexopt <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadd00d
[...stack, code around r...]
E/PowerManagerService(1525): CurLock p:3 mPS:1
E/liblog(1322): failed to call dumpstate
E/installd(1328): dexopt failed on '/data/dalvik-cache/data@app@com.mopub.simpleadsdemo-1.apk@classes.dex' res = 11
我该怎么做才能解决这个问题?