[Q]Decompile/re-compile framework-res.apk JellyBean - Nexus S Q&A, Help & Troubleshooting

Hello,
can someone help me?
I'm trying to recompile framework-res.apk from OTA JellyBean 4.1.1
I'm using apktool_1.4.8 and i can decompile correctly.
But when i try to recompile i get thi errors:
C:\Users\f.labruzzo\Desktop\Nexus S\developping\ICS Apktool>java -jar apktool.ja
r b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\Users\f.labruzzo\Desktop\Nexus S\developping
\ICS Apktool\framework-res\res/anim-sw720dp
invalid resource directory name: C:\Users\f.labruzzo\Desktop\Nexus S\developping
\ICS Apktool\framework-res\res/drawable-sw600dp-hdpi
invalid resource directory name: C:\Users\f.labruzzo\Desktop\Nexus S\developping
\ICS Apktool\framework-res\res/drawable-sw600dp-nodpi
invalid resource directory name: C:\Users\f.labruzzo\Desktop\Nexus S\developping
\ICS Apktool\framework-res\res/drawable-sw720dp-nodpi
invalid resource directory name: C:\Users\f.labruzzo\Desktop\Nexus S\developping
\ICS Apktool\framework-res\res/layout-sw600dp
invalid resource directory name: C:\Users\f.labruzzo\Desktop\Nexus S\developping
\ICS Apktool\framework-res\res/layout-sw720dp
invalid resource directory name: C:\Users\f.labruzzo\Desktop\Nexus S\developping
\ICS Apktool\framework-res\res/layout-w600dp
invalid resource directory name: C:\Users\f.labruzzo\Desktop\Nexus S\developping
\ICS Apktool\framework-res\res/values-h720dp
invalid resource directory name: C:\Users\f.labruzzo\Desktop\Nexus S\developping
\ICS Apktool\framework-res\res/values-sw600dp
invalid resource directory name: C:\Users\f.labruzzo\Desktop\Nexus S\developping
\ICS Apktool\framework-res\res/values-sw600dp-land
invalid resource directory name: C:\Users\f.labruzzo\Desktop\Nexus S\developping
\ICS Apktool\framework-res\res/values-sw600dp-w960dp
invalid resource directory name: C:\Users\f.labruzzo\Desktop\Nexus S\developping
\ICS Apktool\framework-res\res/values-sw720dp
invalid resource directory name: C:\Users\f.labruzzo\Desktop\Nexus S\developping
\ICS Apktool\framework-res\res/values-sw720dp-land
invalid resource directory name: C:\Users\f.labruzzo\Desktop\Nexus S\developping
\ICS Apktool\framework-res\res/values-sw720dp-port
invalid resource directory name: C:\Users\f.labruzzo\Desktop\Nexus S\developping
\ICS Apktool\framework-res\res/values-sw720dp-w1280dp
invalid resource directory name: C:\Users\f.labruzzo\Desktop\Nexus S\developping
\ICS Apktool\framework-res\res/values-w360dp
invalid resource directory name: C:\Users\f.labruzzo\Desktop\Nexus S\developping
\ICS Apktool\framework-res\res/values-w480dp
invalid resource directory name: C:\Users\f.labruzzo\Desktop\Nexus S\developping
\ICS Apktool\framework-res\res/values-w500dp
invalid resource directory name: C:\Users\f.labruzzo\Desktop\Nexus S\developping
\ICS Apktool\framework-res\res/values-w600dp
invalid resource directory name: C:\Users\f.labruzzo\Desktop\Nexus S\developping
\ICS Apktool\framework-res\res/values-w720dp
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-ver
sion, 16, -F, C:\Users\F6A9F~1.LAB\AppData\Local\Temp\APKTOOL1475172691528652948
.tmp, -x, -S, C:\Users\f.labruzzo\Desktop\Nexus S\developping\ICS Apktool\framew
ork-res\res, -M, C:\Users\f.labruzzo\Desktop\Nexus S\developping\ICS Apktool\fra
mework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:252)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
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, --min-sd
k-version, 16, --target-sdk-version, 16, -F, C:\Users\F6A9F~1.LAB\AppData\Local\
Temp\APKTOOL1475172691528652948.tmp, -x, -S, C:\Users\f.labruzzo\Desktop\Nexus S
\developping\ICS Apktool\framework-res\res, -M, C:\Users\f.labruzzo\Desktop\Nexu
s S\developping\ICS Apktool\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:250)
... 6 more
Thanks a lot

Same here

bump. Same problem. Anybody have a solution? Is it okay to just replace .png files via 7-zip in the JB framework-res.apk?

Eric_Eric_Eric said:
bump. Same problem. Anybody have a solution? Is it okay to just replace .png files via 7-zip in the JB framework-res.apk?
Click to expand...
Click to collapse
to compile jelly bean apk's you need updated apktool. http://forum.xda-developers.com/showthread.php?t=1755243

Related

[Q] Patchrom error

Can anyone give me a quick answer on this error in patchrom?
Code:
>>> Install framework resources for apktool...
install framework-miui-res.apk
/home/andy/patchrom/tools/apktool --quiet if /home/andy/patchrom/miui/system/framework/framework-miui-res.apk
unzip >/dev/null sensation_4.5.4.zip "system/framework/*.apk" -d out
install out/system/framework/com.htc.resources.apk
install out/system/framework/framework-res.apk
<<< install framework resources completed!
>>> build out/framework-res.apk...
add miui overlay resources
/home/andy/patchrom/tools/remove_redef.py >/dev/null out/framework-res
/home/andy/patchrom/tools/apktool --quiet b out/framework-res out/framework-res.apk
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-sw600dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/drawable-sw600dp-hdpi
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-w360dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/layout-sw600dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-sw600dp-w1280dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-h720dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-sw600dp-land
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-w500dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-w480dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-w720dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-w600dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/layout-w600dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-sw600dp-w1024dp
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL528070660894835237.tmp, -x, -S, /home/andy/patchrom/sensation/out/framework-res/res, -M, /home/andy/patchrom/sensation/out/framework-res/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java: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, /tmp/APKTOOL528070660894835237.tmp, -x, -S, /home/andy/patchrom/sensation/out/framework-res/res, -M, /home/andy/patchrom/sensation/out/framework-res/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
make: *** [out/framework-res.apk] Error 1
I've checked a few resources and cant figure it out. any help will be much appreciated.
Thanks
ok so it an issue with the apktool and ics so have to wait for a fix.
Any update on the apktool with ICS?
http://forum.xda-developers.com/showthread.php?t=1608112
[Q] compile SystemUi.apk
Sent by Telepathy

[Q] compile/decompile framework-res.apk (Skyworth S7)

Help me.. I can't decompile framework-res.apk of my ICS device, Skyworth S7 Tablet..
I'm trying to modify my framework-res.apk, but I always get errors when decompiling it back..
I'm trying to recompile it without change and I still got the same errors..
I've search through http://www.icsforums.com/forum/showthread/6972 http://forum.xda-developers.com/showthread.php?t=1765340, http://forum.xda-developers.com/showthread.php?t=1633358, even http://forum.xda-developers.com/showthread.php?t=1427959.. and I've tried using apktool version 1.4.2, 1.4.3, 1.4.3, AutoApkTools, ApkManager, but none of them can work on mine..
this is the error log that I've got
Code:
[*] C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re
recompiling C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/animator
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/drawable-sw600dp-mdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/drawable-xlarge-nodpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/interpolator
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/layout-sw600dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/layout-sw600dp-land
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/layout-sw600dp-port
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/layout-w600dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/layout-xlarge
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/mipmap-hdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/mipmap-ldpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/mipmap-mdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/mipmap-xhdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/raw-xlarge
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-h720dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-sw600dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-sw600dp-land
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-sw600dp-w1024dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-sw600dp-w1280dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-w360dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-w480dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-w500dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-w600dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-w720dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-xlarge
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-xlarge-land
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/xml-xlarge
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Antonius\AppData\Local\Temp\APKTOOL8223961361279537208.tmp, -x, -S, C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res, -M, C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java: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:\Users\Antonius\AppData\Local\Temp\APKTOOL8223961361279537208.tmp, -x, -S, C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res, -M, C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
The system cannot find the drive specified.
please help..
this is the link of my framework-res.apk : http://www.mediafire.com/?fa1nscbd9owogjg
Thanks in Advance,
newz93
need your help!!
newz93 said:
Help me.. I can't decompile framework-res.apk of my ICS device, Skyworth S7 Tablet..
I'm trying to modify my framework-res.apk, but I always get errors when decompiling it back..
I'm trying to recompile it without change and I still got the same errors..
I've search through http://www.icsforums.com/forum/showthread/6972 http://forum.xda-developers.com/showthread.php?t=1765340, http://forum.xda-developers.com/showthread.php?t=1633358, even http://forum.xda-developers.com/showthread.php?t=1427959.. and I've tried using apktool version 1.4.2, 1.4.3, 1.4.3, AutoApkTools, ApkManager, but none of them can work on mine..
this is the error log that I've got
Code:
[*] C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re
recompiling C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/animator
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/drawable-sw600dp-mdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/drawable-xlarge-nodpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/interpolator
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/layout-sw600dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/layout-sw600dp-land
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/layout-sw600dp-port
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/layout-w600dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/layout-xlarge
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/mipmap-hdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/mipmap-ldpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/mipmap-mdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/mipmap-xhdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/raw-xlarge
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-h720dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-sw600dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-sw600dp-land
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-sw600dp-w1024dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-sw600dp-w1280dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-w360dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-w480dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-w500dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-w600dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-w720dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-xlarge
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-xlarge-land
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/xml-xlarge
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Antonius\AppData\Local\Temp\APKTOOL8223961361279537208.tmp, -x, -S, C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res, -M, C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java: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:\Users\Antonius\AppData\Local\Temp\APKTOOL8223961361279537208.tmp, -x, -S, C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res, -M, C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
The system cannot find the drive specified.
please help..
this is the link of my framework-res.apk : http://www.mediafire.com/?fa1nscbd9owogjg
Thanks in Advance,
newz93
Click to expand...
Click to collapse
bro, can u give me your s7 system file? i soft break my tablet i i badly need to restore it..thanks..
---------- Post added at 06:40 PM ---------- Previous post was at 06:32 PM ----------
newz93 said:
Help me.. I can't decompile framework-res.apk of my ICS device, Skyworth S7 Tablet..
I'm trying to modify my framework-res.apk, but I always get errors when decompiling it back..
I'm trying to recompile it without change and I still got the same errors..
I've search through http://www.icsforums.com/forum/showthread/6972 http://forum.xda-developers.com/showthread.php?t=1765340, http://forum.xda-developers.com/showthread.php?t=1633358, even http://forum.xda-developers.com/showthread.php?t=1427959.. and I've tried using apktool version 1.4.2, 1.4.3, 1.4.3, AutoApkTools, ApkManager, but none of them can work on mine..
this is the error log that I've got
Code:
[*] C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re
recompiling C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/animator
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/drawable-sw600dp-mdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/drawable-xlarge-nodpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/interpolator
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/layout-sw600dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/layout-sw600dp-land
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/layout-sw600dp-port
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/layout-w600dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/layout-xlarge
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/mipmap-hdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/mipmap-ldpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/mipmap-mdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/mipmap-xhdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/raw-xlarge
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-h720dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-sw600dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-sw600dp-land
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-sw600dp-w1024dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-sw600dp-w1280dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-w360dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-w480dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-w500dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-w600dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-w720dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-xlarge
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/values-xlarge-land
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res/xml-xlarge
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Antonius\AppData\Local\Temp\APKTOOL8223961361279537208.tmp, -x, -S, C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res, -M, C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java: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:\Users\Antonius\AppData\Local\Temp\APKTOOL8223961361279537208.tmp, -x, -S, C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\res, -M, C:\AutoAPKTool2.0.4\_INPUT_APK\framework-re\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
The system cannot find the drive specified.
please help..
this is the link of my framework-res.apk : http://www.mediafire.com/?fa1nscbd9owogjg
Thanks in Advance,
newz93
Click to expand...
Click to collapse
Do this first :
C:\S71>apktool if framework-res.apk
I: Framework installed to: C:\Users\ddoce\apktool\framework\1.apk
before doing this:
apktool d framework-res.apk
are you a filipino?

How To Re-Compile Jellybean Framework-res.apk!!!

Hi all,
i have been trying to make a Circle Percent Battery mod for the Nexus 7.
i have managed to decompile the apk, and i have edited the xml docs i need to.
but when i try and recompile it, i get this error:
[*] framework-res folder
recompiling framework-res.apk...
W: Could not find sources
I: Building resources...
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/anim-sw720dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/animator
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/drawable-sw600dp-hdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/drawable-sw600dp-nodpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/drawable-sw720dp-nodpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/interpolator
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/layout-sw600dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/layout-sw720dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/layout-w600dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/mipmap-hdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/mipmap-ldpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/mipmap-mdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/mipmap-xhdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-h720dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw600dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw600dp-land
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw600dp-port
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw600dp-w960dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw720dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw720dp-land
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw720dp-port
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw720dp-w1280dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-w360dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-w480dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-w500dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-w600dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-w720dp
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\COREYB~1\AppData\Local\Temp\APKTOOL8216312649913118905.tmp, -x, -S, C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res, -M, C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java: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:\Users\COREYB~1\AppData\Local\Temp\APKTOOL8216312649913118905.tmp, -x, -S, C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res, -M, C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
The system cannot find the drive specified.
i have tried with autoapktool, multiapktool, ect ect, but all of them give errors.
even if i just decompile the apk, and then try and recompile it without making any changes, it still gives me the errors.
Please can someone help me, as i have been trying for nearly a week now, but nothing works.
Cheers
Corey
Anyone?
Sorry for my impatience, but I am trying to make some mods, but I can't recompile the apk
Corey
Sent from my GT-I9100 using xda premium

Auto APK Tool

Hy all it's mee again :/
Today i try to add change ( http://review.cyanogenmod.com/#/c/25391/ ) i found this is in LatinIME.apk file then i download THIS AutoAPKTool and i do like this
1. Open AutoAPKTool.bat
2. Move the apk file whitch i want to edit in _INPUT_APK Folder
3. Press number 6 and drag the link of file in and press enter
4. Edit the Style.xml
5. Then again run the AutoAPKTool.bat
6. Press number 7 and drag the link of edited folder in
7. Then i get this error :/
[*] C:\Users\Nataça\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME
recompiling C:\Users\Nataça\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME...
I: Smaling...
I: Building resources...
invalid resource directory name: C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\res/drawable-xhdpi
invalid resource directory name: C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\res/values-sw600dp
invalid resource directory name: C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\res/values-sw600dp-land
invalid resource directory name: C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\res/values-sw768dp
invalid resource directory name: C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\res/values-sw768dp-land
invalid resource directory name: C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\res/xml-sw600dp
invalid resource directory name: C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\res/xml-sw600dp-land
invalid resource directory name: C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\res/xml-sw768dp
invalid resource directory name: C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\res/xml-sw768dp-land
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\NATAA~1\AppData\Local\Temp\APKTOOL4520095 777156111205.tmp, -I, C:\Users\Nataša\apktool\framework\1.apk, -S, C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\res, -M, C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:301)
at brut.androlib.Androlib.buildResources(Androlib.jav a: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:\Users\NATAA~1\AppData\Local\Temp\APKTOOL4520095 777156111205.tmp, -I, C:\Users\Nataša\apktool\framework\1.apk, -S, C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\res, -M, C:\Users\Nataša\Desktop\xdaAutoAPKTool_V3.0.2\_INP UT_APK\LatinIME\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:191)
... 6 more
Unable to open '_INPUT_APK\LatinIME\dist\LatinIME.apk' as zip archive
Navedenega pogona ni mogoźe najti.
Click to expand...
Click to collapse
Can anyone tell me how to fix this ? :/
You seem to have a typo somewhere as the "_INP UT_APK" folder should not have a blank in it.

[GUIDE][MOD] Make Status Bar & Navigation Bar transparent in 4.4 Home/Lockscreen

Most people will be thinking "it's transparent by default isn't it?" by now
In some cases, no.
So here's a guide to make it so it is, using apktool
1.) Pull your current framework-res.apk using ADB to your folder where apktool is
2.) Run this command:
Code:
java -jar apktool.jar d framework-res.apk
3.) When it's done, open the "bools.xml" file in framework-res/res/values
4.) Edit the following lines:
To make the homescreen bars transparent:
Code:
<bool name="config_enableTranslucentDecor">true</bool>
To make lockscreen bars transparent:
Code:
<bool name="config_enableLockScreenTranslucentDecor">true</bool>
BONUS:
To make lockscreen rotate:
Code:
<bool name="config_enableLockScreenRotation">true</bool>
To enable all rotation orientations:
Code:
<bool name="config_allowAllRotations">true</bool>
These are fairly easy edits, there might be some more that you want to do, have a look, but be careful (and "Dianne" is this Dianne if you're wondering)
5.) Go back to your command prompt and run
Code:
java -jar apktool.jar b framework-res
6.) Run this:
Code:
adb push framework-res/dist/framework-res.apk /sdcard/
7.) On the device, download ZipSigner and open it
8.) Choose /sdcard/framework-res.apk and the "platform" key, and then sign
9.) Go back to your command prompt and run the following commands:
Code:
adb root
adb shell mount -o rw,remount /system
adb shell cp /system/framework/framework-res.apk /system/framework/framework-res.bak
adb shell cp /sdcard/framework-res-signed.apk /system/framework/framework-res.apk
adb shell chmod 644 /system/framework/framework-res.apk
adb reboot
NOTE: If you are on a low end device, you must add or change the build.prop to have this:
Code:
ro.config.low_ram=false
Thanks to lagloose for the heads up!
10.) Your device will reboot with the new framework installed. If it's bootlooping, use these commands:
Code:
adb root
adb shell mount -o rw,remount /system
adb shell cp /system/framework/framework-res.bak /system/framework/framework-res.apk
adb reboot
This will revert to the one before you installed
Thanks for the guide! Also, can someone upload framework-res.apk from 4.4?
m.ksy said:
Thanks for the guide! Also, can someone upload framework-res.apk from 4.4?
Click to expand...
Click to collapse
Pull it from the zip here: http://forum.xda-developers.com/showpost.php?p=47081752&postcount=495
Does it look exactly like kit kat? Any screenshots?
Sent from my LG-E610 using Tapatalk
Psykic said:
Does it look exactly like kit kat? Any screenshots?
Sent from my LG-E610 using Tapatalk
Click to expand...
Click to collapse
What does this mean? You have to have KitKat! Here is for example a screen of my lockscreen. As you can see the bars are translucent and there are only black shadows. Prior to making this change to framework-res I had two horrible and ugly black bars.
100% working!
I pulled the framework-res.apk from my current rom in system/framework,
Followed steps 2-5, I downloaded your flashable zip and replace the framework-res.apk with my compiled one (w/c is just enabling the transparent nav/status bar), flash through cwm and it worked!
isn't there an xposed module to already do this? but great guide though!
pandasa123 said:
isn't there an xposed module to already do this? but great guide though!
Click to expand...
Click to collapse
Xposed doesn't work with 4.4 yet, so no
rubikqj said:
What does this mean? You have to have KitKat! Here is for example a screen of my lockscreen. As you can see the bars are translucent and there are only black shadows. Prior to making this change to framework-res I had two horrible and ugly black bars.
Click to expand...
Click to collapse
Okay ...sorry...I misread.
I thought it was a mod for 4.3 devices to get a 4.4 look ..
Sent from my LG-E610 using Tapatalk
I tried it with RasKat version and did all the steps. by the way I used notepad++ to edit and save the bools.xml file.
Put the framework-res.apk ih the flashable zip as mentioned in the above post but it did not change anything.
Any thoughts what might be wrong?
Quinny899 said:
Pull it from the zip here: http://forum.xda-developers.com/showpost.php?p=47081752&postcount=495
Click to expand...
Click to collapse
How can i flash this update but i will not the on screen buttons? I have flashed this and it works great but i cant turn off the on screen buttons...
SeidMNE said:
How can i flash this update but i will not the on screen buttons? I have flashed this and it works great but i cant turn off the on screen buttons...
Click to expand...
Click to collapse
Why would you want to turn the buttons off? That zip is for a Galaxy Nexus, it needs those buttons, unless you're using one of those PIE thingys
Quinny899 said:
Why would you want to turn the buttons off? That zip is for a Galaxy Nexus, it needs those buttons, unless you're using one of those PIE thingys
Click to expand...
Click to collapse
Im using LG Optimus G and i flashed it on my phone. Is there a flashable file for my phone?
SeidMNE said:
Im using LG Optimus G and i flashed it on my phone. Is there a flashable file for my phone?
Click to expand...
Click to collapse
Not at that link
Add qemu.hw.mainkeys=1 to the end of the build.prop and reboot
Quinny899 said:
Not at that link
Add qemu.hw.mainkeys=1 to the end of the build.prop and reboot
Click to expand...
Click to collapse
Ok,thank you :good:
Having errors recompiling. Anyway someone could help me apply the fix for this framework-res.apk https://drive.google.com/file/d/0Bzuu2Konsi6VMXJUdlI2R2wwOGc/edit?usp=sharing
swimdude1120 said:
Having errors recompiling. Anyway someone could help me apply the fix for this framework-res.apk https://drive.google.com/file/d/0Bzuu2Konsi6VMXJUdlI2R2wwOGc/edit?usp=sharing
Click to expand...
Click to collapse
Post the error, it's likely a simple solution
Sent from my Galaxy Nexus using Tapatalk
Quinny899 said:
Post the error, it's likely a simple solution
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
still getting errors
C:\Users\Tom Hubert\Desktop\apktool (1)>java -jar apktool.jar b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/anim-sw720dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/drawable-sw600dp-nodpi
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/drawable-sw600dp-xhdpi
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/drawable-sw720dp-nodpi
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/layout-sw600dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/layout-sw720dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/layout-w600dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-h720dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-sw380dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-sw380dp-land
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-sw600dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-sw600dp-land
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-sw600dp-port
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-sw600dp-w960dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-sw720dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-sw720dp-land
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-sw720dp-port
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-sw720dp-w1280dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-w360dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-w480dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-w500dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-w600dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-w720dp
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\TOMHUB~1\AppData\Local\Tem
p\APKTOOL6552461562442458300.tmp, -x, -S, C:\Users\Tom Hubert\Desktop\apktool (1
)\framework-res\res, -M, C:\Users\Tom Hubert\Desktop\apktool (1)\framework-res\A
ndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:301)
at brut.androlib.Androlib.buildResources(Androlib.jav a: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\TOMHUB~1\AppData\Local\Temp\APKTOOL6552461562 442458300.tmp, -x, -S, C:\User
s\Tom Hubert\Desktop\apktool (1)\framework-res\res, -M, C:\Users\Tom Hubert\Desk
top\apktool (1)\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.jav
a:191)
... 6 more
Anyway to fix that?
swimdude1120 said:
still getting errors
C:\Users\Tom Hubert\Desktop\apktool (1)>java -jar apktool.jar b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/anim-sw720dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/drawable-sw600dp-nodpi
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/drawable-sw600dp-xhdpi
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/drawable-sw720dp-nodpi
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/layout-sw600dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/layout-sw720dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/layout-w600dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-h720dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-sw380dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-sw380dp-land
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-sw600dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-sw600dp-land
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-sw600dp-port
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-sw600dp-w960dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-sw720dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-sw720dp-land
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-sw720dp-port
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-sw720dp-w1280dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-w360dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-w480dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-w500dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-w600dp
invalid resource directory name: C:\Users\Tom Hubert\Desktop\apktool (1)\framewo
rk-res\res/values-w720dp
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\TOMHUB~1\AppData\Local\Tem
p\APKTOOL6552461562442458300.tmp, -x, -S, C:\Users\Tom Hubert\Desktop\apktool (1
)\framework-res\res, -M, C:\Users\Tom Hubert\Desktop\apktool (1)\framework-res\A
ndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:301)
at brut.androlib.Androlib.buildResources(Androlib.jav a: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\TOMHUB~1\AppData\Local\Temp\APKTOOL6552461562 442458300.tmp, -x, -S, C:\User
s\Tom Hubert\Desktop\apktool (1)\framework-res\res, -M, C:\Users\Tom Hubert\Desk
top\apktool (1)\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.jav
a:191)
... 6 more
Anyway to fix that?
Click to expand...
Click to collapse
When did you last update your Apktool?
Quinny899 said:
When did you last update your Apktool?
Click to expand...
Click to collapse
Yeah forgot I was using a way outdated version. My bad. Got it to work and all is good. Thanks for the write up

Categories

Resources