修改libutil.so中的AssetManger和ResourceType后出现异常?

时间:2011-09-16 13:07:06

标签: android android-emulator

我正在尝试将T-Mobile主题引擎合并到模拟器代码中进行测试。

我重建了以下文件

  • framework.jar
  • libandroid_runtime.so
  • service.jar中
  • libutil.so

构建顺序是libutil.so - > libandroid_runtime.so - > service.jar - > framework.jar

这会导致模拟器失败。在执行时,logcat始终显示以下消息:

 I/DEBUG   (   31):  r0 00000000  r1 00000000  r2 a8114c8f  r3 a812cec4
I/DEBUG   (   31):  r4 a812cc68  r5 a812cec4  r6 00000004  r7 00000008
I/DEBUG   (   31): a8114de0 b1184604 5c0cf850 0410f1a0 42a80088 
I/DEBUG   (   31): a8114df0 f00dd911 4606fefd f007b914 e003f9d7 
I/DEBUG   (   31): a8114e00 46314620 f9ecf007 35101b72 21004604 
I/DEBUG   (   31): a8114e10 f7fc1940 f104ea96 bd700010 4604b5f7 
I/DEBUG   (   31): 
I/DEBUG   (   31): code around lr:
I/DEBUG   (   31): a8114c14 00018086 ffffff58 ffffff3c 4c14b537 
I/DEBUG   (   31): a8114c24 447c4914 21005865 f7fc4628 f8dfeb28 
I/DEBUG   (   31): a8114c34 4912c048 ad024628 f8544479 f7fc200c 
I/DEBUG   (   31): a8114c44 2000eb24 0d08f845 f7ff4668 9b00ffc1 
I/DEBUG   (   31): a8114c54 9801b11b f0014669 4a09ff07 e018f8df 
I/DEBUG   (   31): 
I/DEBUG   (   31): stack:
I/DEBUG   (   31):     bea7fac8  afd41504  /system/lib/libc.so
I/DEBUG   (   31):     bea7facc  00001000  
I/DEBUG   (   31):     bea7fad0  40008000  
I/DEBUG   (   31):     bea7fad4  a8111831  /system/lib/libutils.so
I/DEBUG   (   31):     bea7fad8  ffffffff  
I/DEBUG   (   31):     bea7fadc  00000000  
I/DEBUG   (   31):     bea7fae0  00000015  
I/DEBUG   (   31):     bea7fae4  a8111831  /system/lib/libutils.so
I/DEBUG   (   31):     bea7fae8  a812ceb0  /system/lib/libutils.so
I/DEBUG   (   31):     bea7faec  a812cf90  /system/lib/libutils.so
I/DEBUG   (   31):     bea7faf0  00000008  
I/DEBUG   (   31):     bea7faf4  a812ceb0  /system/lib/libutils.so
I/DEBUG   (   31):     bea7faf8  a812cc68  /system/lib/libutils.so
I/DEBUG   (   31):     bea7fafc  00000004  
I/DEBUG   (   31):     bea7fb00  df002777  
I/DEBUG   (   31):     bea7fb04  e3a070ad  
I/DEBUG   (   31): #00 bea7fb08  00000000  
I/DEBUG   (   31):     bea7fb0c  00001000  
I/DEBUG   (   31):     bea7fb10  a8114c8f  /system/lib/libutils.so
I/DEBUG   (   31):     bea7fb14  a812c008  /system/lib/libutils.so
I/DEBUG   (   31):     bea7fb18  00000005  
I/DEBUG   (   31):     bea7fb1c  a8114c93  /system/lib/libutils.so
I/DEBUG   (   31):     bea7fb20  a812c008  /system/lib/libutils.so
I/DEBUG   (   31):     bea7fb24  b00037f5  /system/bin/linker
I/DEBUG   (   31):     bea7fb28  b000a25c  
I/DEBUG   (   31):     bea7fb2c  b000a258  
I/DEBUG   (   31):     bea7fb30  000003e9  
I/DEBUG   (   31):     bea7fb34  b00038a7  /system/bin/linker
I/DEBUG   (   31):     bea7fb38  0002d000  
I/DEBUG   (   31):     bea7fb3c  afd00000  /system/lib/libc.so
I/DEBUG   (   31):     bea7fb40  00000003  
I/DEBUG   (   31):     bea7fb44  b000a178  
I/DEBUG   (   31):     bea7fb48  a812cb80  /system/lib/libutils.so
I/DEBUG   (   31):     bea7fb4c  b000a178  
I/DEBUG   (   31): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (   31): Build fingerprint: 'generic/sdk/generic:2.3.3/GRI34/101070:eng/test-keys'
I/DEBUG   (   31): pid: 558, tid: 558  >>> /system/bin/app_process <<<
I/DEBUG   (   31): signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr a8114df2
I/DEBUG   (   31):  r0 00000000  r1 00000000  r2 a8114c8f  r3 a812cec4
I/DEBUG   (   31):  r4 a812cc68  r5 a812cec4  r6 00000004  r7 00000008
I/DEBUG   (   31):  r8 00000000  r9 00000000  10 00000000  fp 00000000
I/DEBUG   (   31):  ip a812ccd0  sp bebbeb38  lr a8114c35  pc a8114df2  cpsr 60000010
I/DEBUG   (   31):          #00  pc 00014df2  /system/lib/libutils.so
I/DEBUG   (   31):          #01  lr a8114c35  /system/lib/libutils.so
I/DEBUG   (   31): 
I/DEBUG   (   31): code around pc:
I/DEBUG   (   31): a8114dd0 b1086840 ffd8f7ff bd104620 4605b570 
I/DEBUG   (   31): a8114de0 b1184604 5c0cf850 0410f1a0 42a80088 
I/DEBUG   (   31): a8114df0 f00dd911 4606fefd f007b914 e003f9d7 
I/DEBUG   (   31): a8114e00 46314620 f9ecf007 35101b72 21004604 
I/DEBUG   (   31): a8114e10 f7fc1940 f104ea96 bd700010 4604b5f7 
I/DEBUG   (   31): 
I/DEBUG   (   31): code around lr:
I/DEBUG   (   31): a8114c14 00018086 ffffff58 ffffff3c 4c14b537 
I/DEBUG   (   31): a8114c24 447c4914 21005865 f7fc4628 f8dfeb28 
I/DEBUG   (   31): a8114c34 4912c048 ad024628 f8544479 f7fc200c 
I/DEBUG   (   31): a8114c44 2000eb24 0d08f845 f7ff4668 9b00ffc1 
I/DEBUG   (   31): a8114c54 9801b11b f0014669 4a09ff07 e018f8df 
I/DEBUG   (   31): 
I/DEBUG   (   31): stack:
I/DEBUG   (   31):     bebbeaf8  afd41504  /system/lib/libc.so
I/DEBUG   (   31):     bebbeafc  00001000  
I/DEBUG   (   31):     bebbeb00  40008000  
I/DEBUG   (   31):     bebbeb04  a8111831  /system/lib/libutils.so
I/DEBUG   (   31):     bebbeb08  ffffffff  
I/DEBUG   (   31):     bebbeb0c  00000000  
I/DEBUG   (   31):     bebbeb10  00000015  
I/DEBUG   (   31):     bebbeb14  a8111831  /system/lib/libutils.so
I/DEBUG   (   31):     bebbeb18  a812ceb0  /system/lib/libutils.so
I/DEBUG   (   31):     bebbeb1c  a812cf90  /system/lib/libutils.so
I/DEBUG   (   31):     bebbeb20  00000008  
I/DEBUG   (   31):     bebbeb24  a812ceb0  /system/lib/libutils.so
I/DEBUG   (   31):     bebbeb28  a812cc68  /system/lib/libutils.so
I/DEBUG   (   31):     bebbeb2c  00000004  
I/DEBUG   (   31):     bebbeb30  df002777  
I/DEBUG   (   31):     bebbeb34  e3a070ad  
I/DEBUG   (   31): #00 bebbeb38  00000000  
I/DEBUG   (   31):     bebbeb3c  00001000  
I/DEBUG   (   31):     bebbeb40  a8114c8f  /system/lib/libutils.so
I/DEBUG   (   31):     bebbeb44  a812c008  /system/lib/libutils.so
I/DEBUG   (   31):     bebbeb48  00000005  
I/DEBUG   (   31):     bebbeb4c  a8114c93  /system/lib/libutils.so
I/DEBUG   (   31):     bebbeb50  a812c008  /system/lib/libutils.so
I/DEBUG   (   31):     bebbeb54  b00037f5  /system/bin/linker
I/DEBUG   (   31):     bebbeb58  b000a144  
I/DEBUG   (   31):     bebbeb5c  b000a140  
I/DEBUG   (   31):     bebbeb60  00000000  
I/DEBUG   (   31):     bebbeb64  b00038a7  /system/bin/linker
I/DEBUG   (   31):     bebbeb68  0002d000  
I/DEBUG   (   31):     bebbeb6c  afd00000  /system/lib/libc.so
I/DEBUG   (   31):     bebbeb70  00000003  
I/DEBUG   (   31):     bebbeb74  b000a060  
I/DEBUG   (   31):     bebbeb78  a812cb80  /system/lib/libutils.so
I/DEBUG   (   31):     bebbeb7c  b000a060  
I/Netd    (  561): Netd 1.0 starting
I/DEBUG   (   31): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (   31): Build fingerprint: 'generic/sdk/generic:2.3.3/GRI34/101070:eng/test-keys'
I/DEBUG   (   31): pid: 560, tid: 560  >>> /system/bin/mediaserver <<<
I/DEBUG   (   31): signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr a8114df2
I/DEBUG   (   31):  r0 00000000  r1 00000000  r2 a8114c8f  r3 a812cec4
I/DEBUG   (   31):  r4 a812cc68  r5 a812cec4  r6 00000004  r7 00000008
I/DEBUG   (   31):  r8 00000000  r9 00000000  10 00000000  fp 00000000
I/DEBUG   (   31):  ip a812ccd0  sp be995b38  lr a8114c35  pc a8114df2  cpsr 60000010
I/DEBUG   (   31):          #00  pc 00014df2  /system/lib/libutils.so
I/DEBUG   (   31):          #01  lr a8114c35  /system/lib/libutils.so
I/DEBUG   (   31): 
I/DEBUG   (   31): code around pc:
I/DEBUG   (   31): a8114dd0 b1086840 ffd8f7ff bd104620 4605b570 
I/DEBUG   (   31): a8114de0 b1184604 5c0cf850 0410f1a0 42a80088 
I/DEBUG   (   31): a8114df0 f00dd911 4606fefd f007b914 e003f9d7 
I/DEBUG   (   31): a8114e00 46314620 f9ecf007 35101b72 21004604 
I/DEBUG   (   31): a8114e10 f7fc1940 f104ea96 bd700010 4604b5f7 
I/DEBUG   (   31): 
I/DEBUG   (   31): code around lr:
I/DEBUG   (   31): a8114c14 00018086 ffffff58 ffffff3c 4c14b537 
I/DEBUG   (   31): a8114c24 447c4914 21005865 f7fc4628 f8dfeb28 
I/DEBUG   (   31): a8114c34 4912c048 ad024628 f8544479 f7fc200c 
I/DEBUG   (   31): a8114c44 2000eb24 0d08f845 f7ff4668 9b00ffc1 
I/DEBUG   (   31): a8114c54 9801b11b f0014669 4a09ff07 e018f8df 
I/DEBUG   (   31): 
I/DEBUG   (   31): stack:
I/DEBUG   (   31):     be995af8  afd41504  /system/lib/libc.so
I/DEBUG   (   31):     be995afc  00001000  
I/DEBUG   (   31):     be995b00  40008000  
I/DEBUG   (   31):     be995b04  a8111831  /system/lib/libutils.so
I/DEBUG   (   31):     be995b08  ffffffff  
I/DEBUG   (   31):     be995b0c  00000000  
I/DEBUG   (   31):     be995b10  00000015  
I/DEBUG   (   31):     be995b14  a8111831  /system/lib/libutils.so
I/DEBUG   (   31):     be995b18  a812ceb0  /system/lib/libutils.so
I/DEBUG   (   31):     be995b1c  a812cf90  /system/lib/libutils.so
I/DEBUG   (   31):     be995b20  00000008  
I/DEBUG   (   31):     be995b24  a812ceb0  /system/lib/libutils.so
I/DEBUG   (   31):     be995b28  a812cc68  /system/lib/libutils.so
I/DEBUG   (   31):     be995b2c  00000004  
I/DEBUG   (   31):     be995b30  df002777  
I/DEBUG   (   31):     be995b34  e3a070ad  
I/DEBUG   (   31): #00 be995b38  00000000  
I/DEBUG   (   31):     be995b3c  00001000  
I/DEBUG   (   31):     be995b40  a8114c8f  /system/lib/libutils.so
I/DEBUG   (   31):     be995b44  a812c008  /system/lib/libutils.so
I/DEBUG   (   31):     be995b48  00000005  
I/DEBUG   (   31):     be995b4c  a8114c93  /system/lib/libutils.so
I/DEBUG   (   31):     be995b50  a812c008  /system/lib/libutils.so
I/DEBUG   (   31):     be995b54  b00037f5  /system/bin/linker
I/DEBUG   (   31):     be995b58  b000a25c  
I/DEBUG   (   31):     be995b5c  b000a258  
I/DEBUG   (   31):     be995b60  000003e8  
I/DEBUG   (   31):     be995b64  b00038a7  /system/bin/linker
I/DEBUG   (   31):     be995b68  0002d000  
I/DEBUG   (   31):     be995b6c  afd00000  /system/lib/libc.so
I/DEBUG   (   31):     be995b70  00000003  
I/DEBUG   (   31):     be995b74  b000a178  
I/DEBUG   (   31):     be995b78  a812cb80  /system/lib/libutils.so
I/DEBUG   (   31):     be995b7c  b000a178  
I/DEBUG   (   31): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (   31): Build fingerprint: 'generic/sdk/generic:2.3.3/GRI34/101070:eng/test-keys'
I/DEBUG   (   31): pid: 564, tid: 564  >>> /system/bin/rild <<<
I/DEBUG   (   31): signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr a8114df2
I/DEBUG   (   31):  r0 00000000  r1 00000000  r2 a8114c8f  r3 a812cec4
I/DEBUG   (   31):  r4 a812cc68  r5 a812cec4  r6 00000004  r7 00000008
I/DEBUG   (   31):  r8 00000000  r9 00000000  10 00000000  fp 00000000
I/DEBUG   (   31):  ip a812ccd0  sp befc6b08  lr a8114c35  pc a8114df2  cpsr 60000010
I/Netd    (  568): Netd 1.0 starting
I/DEBUG   (   31):          #00  pc 00014df2  /system/lib/libutils.so
I/DEBUG   (   31):          #01  lr a8114c35  /system/lib/libutils.so
I/DEBUG   (   31): 
I/DEBUG   (   31): code around pc:
I/DEBUG   (   31): a8114dd0 b1086840 ffd8f7ff bd104620 4605b570 
I/DEBUG   (   31): a8114de0 b1184604 5c0cf850 0410f1a0 42a80088 
I/DEBUG   (   31): a8114df0 f00dd911 4606fefd f007b914 e003f9d7 
I/DEBUG   (   31): a8114e00 46314620 f9ecf007 35101b72 21004604 
I/DEBUG   (   31): a8114e10 f7fc1940 f104ea96 bd700010 4604b5f7 
I/DEBUG   (   31): 
I/DEBUG   (   31): code around lr:
I/DEBUG   (   31): a8114c14 00018086 ffffff58 ffffff3c 4c14b537 
I/DEBUG   (   31): a8114c24 447c4914 21005865 f7fc4628 f8dfeb28 
I/DEBUG   (   31): a8114c34 4912c048 ad024628 f8544479 f7fc200c 
I/DEBUG   (   31): a8114c44 2000eb24 0d08f845 f7ff4668 9b00ffc1 
I/DEBUG   (   31): a8114c54 9801b11b f0014669 4a09ff07 e018f8df 
I/DEBUG   (   31): 
I/DEBUG   (   31): stack:
I/DEBUG   (   31):     befc6ac8  afd41504  /system/lib/libc.so
I/DEBUG   (   31):     befc6acc  00001000  
I/DEBUG   (   31):     befc6ad0  40008000  
I/DEBUG   (   31):     befc6ad4  a8111831  /system/lib/libutils.so
I/DEBUG   (   31):     befc6ad8  ffffffff  
I/DEBUG   (   31):     befc6adc  00000000  
I/DEBUG   (   31):     befc6ae0  00000015  
I/DEBUG   (   31):     befc6ae4  a8111831  /system/lib/libutils.so
I/DEBUG   (   31):     befc6ae8  a812ceb0  /system/lib/libutils.so
I/DEBUG   (   31):     befc6aec  a812cf90  /system/lib/libutils.so
I/DEBUG   (   31):     befc6af0  00000008  
I/DEBUG   (   31):     befc6af4  a812ceb0  /system/lib/libutils.so
I/DEBUG   (   31):     befc6af8  a812cc68  /system/lib/libutils.so
I/DEBUG   (   31):     befc6afc  00000004  
I/DEBUG   (   31):     befc6b00  df002777  
I/DEBUG   (   31):     befc6b04  e3a070ad  
I/DEBUG   (   31): #00 befc6b08  00000000  
I/DEBUG   (   31):     befc6b0c  00001000  
I/DEBUG   (   31):     befc6b10  a8114c8f  /system/lib/libutils.so
I/DEBUG   (   31):     befc6b14  a812c008  /system/lib/libutils.so
I/DEBUG   (   31):     befc6b18  00000005  
I/DEBUG   (   31):     befc6b1c  a8114c93  /system/lib/libutils.so
I/DEBUG   (   31):     befc6b20  a812c008  /system/lib/libutils.so
I/DEBUG   (   31):     befc6b24  b00037f5  /system/bin/linker
I/DEBUG   (   31):     befc6b28  b000a25c  
I/DEBUG   (   31):     befc6b2c  b000a258  
I/DEBUG   (   31):     befc6b30  000003e9  
I/DEBUG   (   31):     befc6b34  b00038a7  /system/bin/linker
I/DEBUG   (   31):     befc6b38  0002d000  
I/DEBUG   (   31):     befc6b3c  afd00000  /system/lib/libc.so
I/DEBUG   (   31):     befc6b40  00000003  
I/DEBUG   (   31):     befc6b44  b000a178  
I/DEBUG   (   31):     befc6b48  a812cb80  /system/lib/libutils.so
I/DEBUG   (   31):     befc6b4c  b000a178 

谁可以解释这些日志?

0 个答案:

没有答案