lnln1111 / android-apktool

Automatically exported from code.google.com/p/android-apktool
Other
0 stars 0 forks source link

decode SystemUI.apk fail #266

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add java environment
2. use 'APK-sign' tool to re-sign SystemUI.apk (due to has been modified by 
others, if don't do this, the fail messenger is the same)
3. add the framework-res.apk resource to \apktool\framework
4. decode this apk and fail
5. delete the 1.apk in the \apktool\framework, decode and fail
6. decode the older version apk is OK at the same time

What is the expected output? What do you see instead?

re-sign information:

C:\Documents and Settings\e2029390>if not "IUmets" == "" goto loopp1

C:\Documents and Settings\e2029390>if not "I" == "" set "str=Sys"

C:\Documents and Settings\e2029390>set "var=IUmet"

C:\Documents and Settings\e2029390>if not "IUmet" == "" goto loopp1

C:\Documents and Settings\e2029390>if not "I" == "" set "str=Syst"

C:\Documents and Settings\e2029390>set "var=IUme"

C:\Documents and Settings\e2029390>if not "IUme" == "" goto loopp1

C:\Documents and Settings\e2029390>if not "I" == "" set "str=Syste"

C:\Documents and Settings\e2029390>set "var=IUm"

C:\Documents and Settings\e2029390>if not "IUm" == "" goto loopp1

C:\Documents and Settings\e2029390>if not "I" == "" set "str=System"

C:\Documents and Settings\e2029390>set "var=IU"

C:\Documents and Settings\e2029390>if not "IU" == "" goto loopp1

C:\Documents and Settings\e2029390>if not "I" == "" set "str=SystemU"

C:\Documents and Settings\e2029390>set "var=I"

C:\Documents and Settings\e2029390>if not "I" == "" goto loopp1

C:\Documents and Settings\e2029390>if not "I" == "" set "str=SystemUI"

C:\Documents and Settings\e2029390>set "var="

C:\Documents and Settings\e2029390>if not "" == "" goto loopp1

C:\Documents and Settings\e2029390>goto :eof

C:\Documents and Settings\e2029390>set appname=SystemUI

C:\Documents and Settings\e2029390>rd C:\DOCUME~1\e2029390\LOCALS~1\Temp\apkbuil
der /s /q

C:\Documents and Settings\e2029390>md C:\DOCUME~1\e2029390\LOCALS~1\Temp\apkbuil
der

C:\Documents and Settings\sinsow>xcopy /e /c /i /g /h /r /k /y C:\APK-sign\Sys
temUI C:\DOCUME~1\sinsow\LOCALS~1\Temp\apkbuilder
C:\APK-sign\SystemUI\AndroidManifest.xml
C:\APK-sign\SystemUI\classes.dex
C:\APK-sign\SystemUI\resources.arsc
C:\APK-sign\SystemUI\res\anim\slide_out_left_basic.xml
C:\APK-sign\SystemUI\res\anim\slide_out_right_basic.xml
C:\APK-sign\SystemUI\res\drawable\battery_bar.xml
C:\APK-sign\SystemUI\res\drawable\btn_default_small.xml
C:\APK-sign\SystemUI\res\drawable\stat_power_bg.xml
C:\APK-sign\SystemUI\res\drawable\stat_sys_gps_acquiring_anim.xml
C:\APK-sign\SystemUI\res\drawable\stat_sys_roaming_cdma_flash.xml
C:\APK-sign\SystemUI\res\drawable-hdpi\battery_low_battery.png
C:\APK-sign\SystemUI\res\drawable-hdpi\btn_default_small_normal.9.png
C:\APK-sign\SystemUI\res\drawable-hdpi\btn_default_small_normal_disable.9.png
C:\APK-sign\SystemUI\res\drawable-hdpi\btn_default_small_normal_disable_focused.
9.png
C:\APK-sign\SystemUI\res\drawable-hdpi\btn_default_small_pressed.9.png
C:\APK-sign\SystemUI\res\drawable-hdpi\btn_default_small_selected.9.png
C:\APK-sign\SystemUI\res\drawable-hdpi\divider_horizontal_dark_opaque.9.png
C:\APK-sign\SystemUI\res\drawable-hdpi\divider_horizontal_light_opaque.9.png
C:\APK-sign\SystemUI\res\drawable-hdpi\ic_launcher_settings.png
C:\APK-sign\SystemUI\res\drawable-hdpi\ic_notification_overlay.9.png
C:\APK-sign\SystemUI\res\drawable-hdpi\ic_statusbar_back_bottom.png
C:\APK-sign\SystemUI\res\drawable-hdpi\ic_statusbar_back_top.png
C:\APK-sign\SystemUI\res\drawable-hdpi\ic_statusbar_edge_left_bottom.png
C:\APK-sign\SystemUI\res\drawable-hdpi\ic_statusbar_edge_left_top.png
C:\APK-sign\SystemUI\res\drawable-hdpi\ic_statusbar_edge_right_bottom.png
C:\APK-sign\SystemUI\res\drawable-hdpi\ic_statusbar_edge_right_top.png
C:\APK-sign\SystemUI\res\drawable-hdpi\ic_statusbar_hide_bottom.png
C:\APK-sign\SystemUI\res\drawable-hdpi\ic_statusbar_hide_top.png
C:\APK-sign\SystemUI\res\drawable-hdpi\ic_statusbar_home_bottom.png
C:\APK-sign\SystemUI\res\drawable-hdpi\ic_statusbar_home_top.png
C:\APK-sign\SystemUI\res\drawable-hdpi\ic_statusbar_menu_bottom.png
C:\APK-sign\SystemUI\res\drawable-hdpi\ic_statusbar_menu_top.png
C:\APK-sign\SystemUI\res\drawable-hdpi\ic_statusbar_na_down_bottom.png
C:\APK-sign\SystemUI\res\drawable-hdpi\ic_statusbar_na_down_top.png
C:\APK-sign\SystemUI\res\drawable-hdpi\ic_statusbar_na_up_bottom.png
C:\APK-sign\SystemUI\res\drawable-hdpi\ic_statusbar_na_up_top.png
C:\APK-sign\SystemUI\res\drawable-hdpi\ic_statusbar_search_bottom.png
C:\APK-sign\SystemUI\res\drawable-hdpi\ic_statusbar_search_top.png
C:\APK-sign\SystemUI\res\drawable-hdpi\ic_statusbar_sep_bottom.png
C:\APK-sign\SystemUI\res\drawable-hdpi\ic_statusbar_sep_top.png
C:\APK-sign\SystemUI\res\drawable-hdpi\shade_bg.png
C:\APK-sign\SystemUI\res\drawable-hdpi\shade_handlebar.9.png
C:\APK-sign\SystemUI\res\drawable-hdpi\shade_header_background.9.png
C:\APK-sign\SystemUI\res\drawable-hdpi\statusbar_background.9.png
C:\APK-sign\SystemUI\res\drawable-hdpi\status_bar_background.9.png
C:\APK-sign\SystemUI\res\drawable-hdpi\status_bar_close_on.9.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_2g3g_off.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_2g3g_on.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_3g_on.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_airplane_off.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_airplane_on.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_bgoff.9.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_bgon.9.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_bgon_custom.9.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_bluetooth_off.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_bluetooth_on.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_brightness_auto.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_brightness_mid.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_brightness_off.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_brightness_on.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_data_off.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_data_on.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_flashlight_off.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_flashlight_on.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_gps_off.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_gps_on.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_ing_off.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_inner_focus.9.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_inner_press.9.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_lock_screen_off.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_lock_screen_on.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_media_next.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_media_pause.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_media_play.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_media_previous.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_notify_alarm.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_notify_more.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_orientation_off.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_orientation_on.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_power_background.9.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_ring_on.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_ring_vibrate_on.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_screen_timeout_off.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_screen_timeout_on.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_silent.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sleep.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sync_off.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sync_on.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_bluetooth.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_bluetooth_connected.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_connected_1x.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_connected_3g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_connected_4g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_connected_e.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_connected_g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_connected_h.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_connected_1x.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_connected_3g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_connected_4g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_connected_e.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_connected_g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_connected_h.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_inandout_1x.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_inandout_3g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_inandout_4g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_inandout_e.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_inandout_g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_inandout_h.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_in_1x.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_in_3g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_in_4g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_in_e.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_in_g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_in_h.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_out_1x.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_out_3g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_out_4g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_out_e.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_out_g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_fully_out_h.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_inadnout_e.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_inandout_1x.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_inandout_3g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_inandout_4g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_inandout_e.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_inandout_g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_inandout_h.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_in_1x.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_in_3g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_in_4g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_in_e.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_in_g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_in_h.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_out_1x.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_out_3g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_out_4g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_out_e.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_out_g.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_out_h.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_wimax_signal_0.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_wimax_signal_0_fully.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_wimax_signal_1.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_wimax_signal_1_fully.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_wimax_signal_2.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_wimax_signal_2_fully.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_wimax_signal_3.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_wimax_signal_3_fully.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_wimax_signal_disconnected.p
ng
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_data_wimax_signal_idle.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_gps_acquiring.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_headset_no_mic.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_no_sim.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_ringer_silent.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_ringer_vibrate.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_roaming_cdma_0.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_roaming_cdma_flash_anim0.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_roaming_cdma_flash_anim1.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_r_signal_0.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_r_signal_0_fully.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_r_signal_1.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_r_signal_1_fully.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_r_signal_2.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_r_signal_2_fully.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_r_signal_3.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_r_signal_3_fully.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_r_signal_4.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_r_signal_4_fully.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_signal_0.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_signal_0_fully.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_signal_1.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_signal_1_fully.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_signal_2.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_signal_2_fully.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_signal_3.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_signal_3_fully.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_signal_4.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_signal_4_fully.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_signal_flightmode.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_signal_null.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_tty_mode.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_wifi_signal_0.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_wifi_signal_1.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_wifi_signal_1_fully.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_wifi_signal_2.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_wifi_signal_2_fully.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_wifi_signal_3.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_wifi_signal_3_fully.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_wifi_signal_4.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_sys_wifi_signal_4_fully.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_vibrate_off.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_vibrate_on.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_wifi_ap_off.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_wifi_ap_on.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_wifi_off.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_wifi_on.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_wimax_off.png
C:\APK-sign\SystemUI\res\drawable-hdpi\stat_wimax_on.png
C:\APK-sign\SystemUI\res\drawable-hdpi\title_bar_portrait.9.png
C:\APK-sign\SystemUI\res\drawable-hdpi\title_bar_shadow.9.png
C:\APK-sign\SystemUI\res\layout\battery_low.xml
C:\APK-sign\SystemUI\res\layout\power_widget_button.xml
C:\APK-sign\SystemUI\res\layout\status_bar.xml
C:\APK-sign\SystemUI\res\layout\status_bar_expanded.xml
C:\APK-sign\SystemUI\res\layout\status_bar_icon.xml
C:\APK-sign\SystemUI\res\layout\status_bar_latest_event.xml
C:\APK-sign\SystemUI\res\layout\status_bar_tracking.xml
C:\APK-sign\SystemUI\res\xml\bookmarks.xml
207 File(s) copied

C:\Documents and Settings\sinsow>cd /d C:\DOCUME~1\sinsow\LOCALS~1\Temp\apkb
uilder

C:\DOCUME~1\sinsow\LOCALS~1\Temp\apkbuilder>del /f /s /q *.ttt
Could Not Find C:\DOCUME~1\sinsow\LOCALS~1\Temp\apkbuilder\*.ttt

C:\DOCUME~1\sinsow\LOCALS~1\Temp\apkbuilder>del /f /s /q *.bak
Could Not Find C:\DOCUME~1\sinsow\LOCALS~1\Temp\apkbuilder\*.bak

C:\DOCUME~1\sinsow\LOCALS~1\Temp\apkbuilder>cd /d C:\APK-sign\SystemUI\..

C:\APK-sign>set "cdd_=*\="

C:\APK-sign>set "cdd_tmp=*="

C:\APK-sign>if not "*=" == "*\=" goto loop1

C:\APK-sign>set "cdd_=="

C:\APK-sign>set "cdd_tmp=="

C:\APK-sign>if not "=" == "=" goto loop1

C:\APK-sign>set SUBDIR=SystemUI_re

C:\APK-sign>md SystemUI_re

C:\APK-sign>"_data\aapt.exe" p -f -F "SystemUI_re\SystemUI.apk" 
"C:\DOCUME~1\sinsow\LOCALS~1\Temp\apkbuilder"

C:\APK-sign>java -jar "_data\SignAPK.jar" "SystemUI_re\Syst
emUI.apk"

Press any key to continue . . .

decode information:

C:\Documents and Settings\sinsow\apktool>apktool.bat d SystemUI.apk
I: Baksmaling...
testI: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Documents and Settings\sinsow\apktool\
framework\1.apk
I: Loaded.
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
id, value=0x7f0b0030
I: Decoding values*/* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x7f0b0030
        at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
        at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)
        at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)
        at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferen
ceValue.java:59)
        at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefe
renceValue.java:46)
        at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResSca
larValue.java:43)
        at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:4
0)
        at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlRe
sourceParser.java:315)
        at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(XmlPullParserDelegate.java:69)
        at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
        at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
        at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:46)
        at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:34)
        at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
00)
        at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:8
6)
        at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:132
)
        at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
        at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
        at brut.apktool.Main.cmdDecode(Main.java:128)
        at brut.apktool.Main.main(Main.java:65)

What version of the product are you using? On what operating system?

using the CM7.1.2 for Milestone

Please provide any additional information below.

Original issue reported on code.google.com by sin...@gmail.com on 16 Dec 2011 at 2:46

Attachments:

GoogleCodeExporter commented 9 years ago
Don't know what I'm looking at. I downloaded APK and decompiled & rebuilt 
without error.

Original comment by connor.tumbleson on 17 Nov 2012 at 6:51