• DexOpt相关的异常


    查找的资料

    dvm探讨之odex绕过

    DexClassLoader4.4.2动态加载分析(磁盘加载分析)

    04-11 23:34:36.850 D/dalvikvm( 2255): DexOpt: incorrect opt magic number (0xff ff ff ff)
    
    04-11 23:34:36.850 D/dalvikvm( 2255): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/system@app@AWCarInfo.apk@classes.dex)
    
    04-11 23:34:37.000 W/dalvikvm( 2255): Zip: size mismatch on inflated file (1728084 vs 1716780)
    
    04-11 23:34:37.001 E/dalvikvm( 2255): Unable to extract+optimize DEX from '/system/app/AWCarInfo.apk'
    
    04-11 23:34:37.004 D/AndroidRuntime( 2255): Shutting down VM
    
    04-11 23:34:37.004 W/dalvikvm( 2255): threadid=1: thread exiting with uncaught exception (group=0x40fee930)
    
    04-11 23:34:37.007 E/AndroidRuntime( 2255): FATAL EXCEPTION: main
    
    04-11 23:34:37.007 E/AndroidRuntime( 2255): java.lang.RuntimeException: Unable to instantiate application com.roadrover.carinfo.CarApplication: java.lang.ClassNotFoundException: Didn't find class "com.roadrover.carinfo.CarApplication" on path: /system/app/AWCarInfo.apk
    
    04-11 23:34:37.007 E/AndroidRuntime( 2255):     at android.app.LoadedApk.makeApplication(LoadedApk.java:504)
    
    04-11 23:34:37.007 E/AndroidRuntime( 2255):     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4395)
    
    04-11 23:34:37.007 E/AndroidRuntime( 2255):     at android.app.ActivityThread.access$1300(ActivityThread.java:145)
    
    04-11 23:34:37.007 E/AndroidRuntime( 2255):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1301)
    
    04-11 23:34:37.007 E/AndroidRuntime( 2255):     at android.os.Handler.dispatchMessage(Handler.java:99)
    
    04-11 23:34:37.007 E/AndroidRuntime( 2255):     at android.os.Looper.loop(Looper.java:138)
    
    04-11 23:34:37.007 E/AndroidRuntime( 2255):     at android.app.ActivityThread.main(ActivityThread.java:5089)
    
    04-11 23:34:37.007 E/AndroidRuntime( 2255):     at java.lang.reflect.Method.invokeNative(Native Method)
    
    04-11 23:34:37.007 E/AndroidRuntime( 2255):     at java.lang.reflect.Method.invoke(Method.java:511)
    
    04-11 23:34:37.007 E/AndroidRuntime( 2255):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:807)
    
    04-11 23:34:37.007 E/AndroidRuntime( 2255):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:574)
    
    04-11 23:34:37.007 E/AndroidRuntime( 2255):     at dalvik.system.NativeStart.main(Native Method)
    
    04-11 23:34:37.007 E/AndroidRuntime( 2255): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.roadrover.carinfo.CarApplication" on path: /system/app/AWCarInfo.apk
    
    04-11 23:34:37.007 E/AndroidRuntime( 2255):     at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
    
    04-11 23:34:37.007 E/AndroidRuntime( 2255):     at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
    
    04-11 23:34:37.007 E/AndroidRuntime( 2255):     at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
    
    04-11 23:34:37.007 E/AndroidRuntime( 2255):     at android.app.Instrumentation.newApplication(Instrumentation.java:968)
    
    04-11 23:34:37.007 E/AndroidRuntime( 2255):     at android.app.LoadedApk.makeApplication(LoadedApk.java:499)
    
    04-11 23:34:37.007 E/AndroidRuntime( 2255):     ... 11 more

    Unable to extract+optimize DEX from '/system/app/AWCarInfo.apk'
    不能从 '/system/app/AWCarInfo.apk'中提取和优化DEX 文件

    问题应该出在DexOpt从/data/dalvik-cache/system@app@AWCarInfo.apk@classes.dex中提取优化的ODEX 文件是过时的or坏的,所以AWCarInfo.apk无法启动。

  • 相关阅读:
    ELF 格式简介
    gdb 使用说明;ARM 汇编
    博士研究生的组会PPT汇报相关-labgirls
    浅尝辄止·认识Blazor及基础使用
    VBA·Function的基础使用
    WCF·无法自动进入并单步执行服务器。调试器未能在服务器进程中停止。
    Word·查找任意汉字的方法
    VBA·编译错误:ByRef参数类型不符
    排坑·QQ浏览器打开MD文件时显示下载不能直接打开
    MSSQL·PIVOT关键字实现列转行
  • 原文地址:https://www.cnblogs.com/lipeineng/p/11310407.html
Copyright © 2020-2023  润新知