A
AlphaSigma
Fortgeschrittenes Mitglied
- 21
Hallo,
ich habe ein Problem beim De-/Kompilieren der SystemUI(.apk) und hoffe das man mir hier weiterhelfen kann.
Erst mal die Allgemeinen Infos:
Samsung Galaxy S II
Litening Rom 3.6 XWLPG (ICS 4.0.3)
apktools 1.4.3
Vorgensweise:
APKTools entpakt
framwork-res.apk und SystemUI.apk vom Handy in das APKTools Verzeichnis kopiert.
apktool d framework-res.apk
apktool if framework-res.apk
I: Framework installed to: C:\Users\User\apktool\framework\1.apk
apktool if twframework-res.apk
I: Framework installed to: C:\Users\User\apktool\framework\2.apk
Dann
apktool d SystemUI.apk
apktool b SystemUI
ich habe ein Problem beim De-/Kompilieren der SystemUI(.apk) und hoffe das man mir hier weiterhelfen kann.
Erst mal die Allgemeinen Infos:
Samsung Galaxy S II
Litening Rom 3.6 XWLPG (ICS 4.0.3)
apktools 1.4.3
Vorgensweise:
APKTools entpakt
framwork-res.apk und SystemUI.apk vom Handy in das APKTools Verzeichnis kopiert.
apktool d framework-res.apk
apktool d twframework-res.apkI: Loading resource table...
I: Loaded.
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable hdpi/scrollbar_handle_accelerated_anim2.9.png". Renaming it to *.png.
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Vorsichtshalber:I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\User\apktool\framework\1.ap
k
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
apktool if framework-res.apk
I: Framework installed to: C:\Users\User\apktool\framework\1.apk
apktool if twframework-res.apk
I: Framework installed to: C:\Users\User\apktool\framework\2.apk
Dann
apktool d SystemUI.apk
Anschließend ohne eine Änderung:I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\User\apktool\framework\1.ap
k
I: Loaded.
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quick_panel_off.9.png". Ren
aming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_plmn_bg.9.png". Renaming it
to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/alert_bar_background_pressed.9
.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quick_panel_on.9.png". Rena
ming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/alert_bar_background_normal.9.
png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/compat_mode_help_divider_botto
m.9.png". Renaming it to *.png.
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
apktool b SystemUI
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: L:\apktool\SystemUI\res/drawable-sw600dp-hdpi
invalid resource directory name: L:\apktool\SystemUI\res/layout-sw600dp
invalid resource directory name: L:\apktool\SystemUI\res/values-sw600dp
invalid resource directory name: L:\apktool\SystemUI\res/values-sw600dp-port
invalid resource directory name: L:\apktool\SystemUI\res/values-sw720dp
invalid resource directory name: L:\apktool\SystemUI\res/values-sw720dp-port
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\User\AppData\Local\Tem
p\APKTOOL8721883825117005013.tmp, -I, C:\Users\User\apktool\framework\1.a
pk, -S, L:\apktool\SystemUI\res, -M, L:\apktool\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\User\AppData\Local\Temp\APKTOOL8721883825117005013.tmp, -I, C:\Users\User\apktool\framework\1.apk, -S, L:\apktool\SystemUI\res, -M, L:\apktool\S
ystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more