gpt4 book ai didi

Android::Version4.4及以下版本应用程序崩溃并出现VerifyError

转载 作者:行者123 更新时间:2023-12-02 09:33:09 24 4
gpt4 key购买 nike

我在 Android 中遇到一个问题。早些时候,我与 android 4.4 和 jdk6 一起开发了一个应用程序。现在我要使用 jdk 7 升级 android 6 中的相同应用程序以进行指纹验证。现在问题发生在 android 4.4 及以下版本应用程序崩溃。它抛出验证错误。任何人都可以帮我解决这个问题。IDE: eclipse 。注意:我无法迁移 android studio

`07-14 08:12:43.775: D/ActivityThread(18716): 
handleBindApplication:sg.com.MyApp2u.MyApp
07-14 08:12:43.775: D/ActivityThread(18716):
setTargetHeapUtilization:0.75
07-14 08:12:43.775: D/ActivityThread(18716):
setTargetHeapMinFree:2097152
07-14 08:12:44.035: W/dalvikvm(18716): VFY: unable to resolve
exception class 261
(Landroid/security/keystore/KeyPermanentlyInvalidatedException;)
07-14 08:12:44.035: W/dalvikvm(18716): VFY: unable to find exception
handler at addr 0x2a
07-14 08:12:44.035: W/dalvikvm(18716): VFY: rejected
Lsg/com/MyApp2u/MyApp/AppController;.cipherInit ()Z
07-14 08:12:44.035: W/dalvikvm(18716): VFY: rejecting opcode 0x0d
at 0x002a
07-14 08:12:44.035: W/dalvikvm(18716): VFY: rejected
Lsg/com/MyApp2u/MyApp/AppController;.cipherInit ()Z
07-14 08:12:44.035: W/dalvikvm(18716): Verifier rejected class
Lsg/com/MyApp2u/MyApp/AppController;
07-14 08:12:44.035: D/AndroidRuntime(18716): Shutting down VM
07-14 08:12:44.035: W/dalvikvm(18716): threadid=1: thread exiting
with uncaught exception (group=0x41d16d58)
07-14 08:12:44.035: E/AndroidRuntime(18716): FATAL EXCEPTION: main
07-14 08:12:44.035: E/AndroidRuntime(18716): Process:
sg.com.MyApp2u.MyApp, PID: 18716
07-14 08:12:44.035: E/AndroidRuntime(18716): java.lang.VerifyError:
sg/com/MyApp2u/MyApp/AppController
07-14 08:12:44.035: E/AndroidRuntime(18716): at
sg.com.MyApp2u.MyApp.mobeix.onCreate(mobeix.java:170)
07-14 08:12:44.035: E/AndroidRuntime(18716): at
android.app.Activity.performCreate(Activity.java:5242)
07-14 08:12:44.035: E/AndroidRuntime(18716): at
android.app.Instrumentation.
callActivityOnCreate(Instrumentation.java:1087)
07-14 08:12:44.035: E/AndroidRuntime(18716): at
android.app.ActivityThread.
performLaunchActivity(ActivityThread.java:2164)
07-14 08:12:44.035: E/AndroidRuntime(18716): at
android.app.ActivityThread.
handleLaunchActivity(ActivityThread.java:2249)
07-14 08:12:44.035: E/AndroidRuntime(18716): at
android.app.ActivityThread.access$800(ActivityThread.java:141)
07-14 08:12:44.035: E/AndroidRuntime(18716): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1212)
07-14 08:12:44.035: E/AndroidRuntime(18716): at
android.os.Handler.dispatchMessage(Handler.java:102)
07-14 08:12:44.035: E/AndroidRuntime(18716): at
android.os.Looper.loop(Looper.java:136)
07-14 08:12:44.035: E/AndroidRuntime(18716): at
android.app.ActivityThread.main(ActivityThread.java:5113)
07-14 08:12:44.035: E/AndroidRuntime(18716): at
java.lang.reflect.Method.invokeNative(Native Method)
07-14 08:12:44.035: E/AndroidRuntime(18716): at
java.lang.reflect.Method.invoke(Method.java:515)
07-14 08:12:44.035: E/AndroidRuntime(18716): at
com.android.internal.os.
ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:796)
07-14 08:12:44.035: E/AndroidRuntime(18716): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:612)
07-14 08:12:44.035: E/AndroidRuntime(18716): at
dalvik.system.NativeStart.main(Native Method)`

最佳答案

您尝试过使用 Multidex 吗?如果我不使用 Multidex,我的 Android 4.4 中的应用程序会出现一些错误或崩溃

关于Android::Version4.4及以下版本应用程序崩溃并出现VerifyError,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45093849/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com