Problem beim De-/Kompilieren der SystemUI mit apktool

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
I: 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...
apktool d twframework-res.apk
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...
Vorsichtshalber:
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
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...
Anschließend ohne eine Änderung:
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
 
"I only understand train station" :confused:
Hab zwar nix zur Lösung des Problems beizutragen, hätte aber gern gewusst, wozu das gut ist?!
 
Zuletzt bearbeitet:

Ähnliche Themen

Mr. NiceGuy
Antworten
8
Aufrufe
558
Nightly
Nightly
JoFly
Antworten
3
Aufrufe
691
Poppenspaeler
Poppenspaeler
J
Antworten
19
Aufrufe
1.627
html6405
html6405
Zurück
Oben Unten