我需要在dalvik / vm / oo / Object.h中的Dalvik内部数据结构对象中添加一个额外的字段。我相应地修改了dalvik / vm / mterp / common / asm-constants.h中的asm偏移量。 (我还有其他文件需要修改吗?提前致谢)
建筑物已成功完成,但系统无法使用流动的日志在NEXUS 4上运行:
278 W/dalvikvm(17272): DexOpt: --- END 'voip-common.jar' --- status=0x000b, process failed
279 E/dalvikvm(17272): Unable to extract+optimize DEX from '/system/framework/voip-common.jar'
280 D/dalvikvm(17272): Unable to process classpath element '/system/framework/voip-common.jar'
281 D/dalvikvm(17272): DexOpt: incorrect opt magic number (0xff ff ff ff)
282 D/dalvikvm(17272): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/system@framework@mms-common.jar@classes.dex)
283 D/dalvikvm(17272): DexOpt: --- BEGIN 'mms-common.jar' (bootstrap=1) ---
284 E/dalvikvm(17332): Fatal error: java/lang/Object
285 E/dalvikvm(17332): VM aborting
286 F/libc (17332): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 17332 (dexopt)
287 I/DEBUG ( 170): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
和
563 W/dalvikvm(17272): DexOpt: --- END 'mms-common.jar' --- status=0x000b, process failed
564 E/dalvikvm(17272): Unable to extract+optimize DEX from '/system/framework/mms-common.jar'
565 D/dalvikvm(17272): Unable to process classpath element '/system/framework/mms-common.jar'
566 D/dalvikvm(17272): DexOpt: incorrect opt magic number (0xff ff ff ff)
567 D/dalvikvm(17272): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/system@framework@android.policy.jar@classes. dex)
568 D/dalvikvm(17272): DexOpt: --- BEGIN 'android.policy.jar' (bootstrap=1) ---
569 E/dalvikvm(17333): Fatal error: java/lang/Object
570 E/dalvikvm(17333): VM aborting
571 F/libc (17333): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 17333 (dexopt)
572 I/DEBUG ( 170): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
...
2957 W/dalvikvm(17466): DexOpt: --- END 'framework.jar' --- status=0x000b, process failed
2958 E/dalvikvm(17466): Unable to extract+optimize DEX from '/system/framework/framework.jar'
2959 D/dalvikvm(17466): Unable to process classpath element '/system/framework/framework.jar'
2960 D/dalvikvm(17466): DexOpt: incorrect opt magic number (0xff ff ff ff)
2961 D/dalvikvm(17466): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/system@framework@telephony-common.jar@classes. dex)
2962 D/dalvikvm(17466): DexOpt: --- BEGIN 'telephony-common.jar' (bootstrap=1) ---
2963 E/dalvikvm(17572): Fatal error: java/lang/Object
2964 E/dalvikvm(17572): VM aborting
2965 F/libc (17572): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 17572 (dexopt)