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.
Related
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
I want to cook a Sense 4 rom and I unpacked the framework-res.apk in a folder with apktool. However, Which confused me is I can't zip the floder in an apk file and apktool shows these words below:"
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: XX\framework-res\res/drawable-sw600dp-hdpi
invalid resource directory name: XX\framework-res\res/layout-sw600dp
invalid resource directory name: XX\framework-res\res/layout-w600dp
invalid resource directory name: XX\framework-res\res/values-h720dp
invalid resource directory name: XX\framework-res\res/values-sw600dp
invalid resource directory name: XX\framework-res\res/values-sw600dp-land
invalid resource directory name: XX\framework-res\res/values-sw600dp-w1024dp
invalid resource directory name: XX\framework-res\res/values-sw600dp-w1280dp
invalid resource directory name: XX\framework-res\res/values-w360dp
invalid resource directory name: XX\framework-res\res/values-w480dp
invalid resource directory name: XX\framework-res\res/values-w500dp
invalid resource directory name: XX\framework-res\res/values-w600dp
invalid resource directory name: XX\framework-res\res/values-w720dp
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, %users%\AppData\Local\Temp\APKTOOL4350327246804464168.tmp, -x, -S, XX\framework-res\res, -M, XX\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, %users%\AppData\Local\Temp\APKTOOL4350327246804464168.tmp, -x, -S, XX\framework-res\res, -M, XX\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Click to expand...
Click to collapse
"
Thanks for any gus who can help me>
is there anyone here?
anyone who can help me?
PLS HELP
I need some one to help me/.
Try Apk manager. I always get problems with apk tool.
Did you run framework.if to load sources?
Sent from my SGH-T989 using xda premium
yes, I have installed them
dillym34 said:
Did you run framework.if to load sources?
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
I have run these in the CMD:"
apktool if framework-res.apk
apktool if com.htc.resources.apk
Click to expand...
Click to collapse
"
and then "1.apk" and "2.apk" show in the floder: %users%/apktool/ ,but it still not work.
dan-fish said:
Try Apk manager. I always get problems with apk tool.
Click to expand...
Click to collapse
thanks, I'll try it.
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?
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
hey i tried to decompile systemui.apk
it decompiled successfully using apktool
but whenever i tries to recompile it it shows dis error
it is of cyanogen mod 9.1
C:\Users\yo\Downloads\Compressed\New folder (2)>apktool b SystemUI
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\Users\yo\Downloads\Compressed\New folder (2)
\SystemUI\res/drawable-sw600dp-mdpi
invalid resource directory name: C:\Users\yo\Downloads\Compressed\New folder (2)
\SystemUI\res/drawable-sw720dp-mdpi
invalid resource directory name: C:\Users\yo\Downloads\Compressed\New folder (2)
\SystemUI\res/layout-sw600dp
invalid resource directory name: C:\Users\yo\Downloads\Compressed\New folder (2)
\SystemUI\res/values-sw600dp
invalid resource directory name: C:\Users\yo\Downloads\Compressed\New folder (2)
\SystemUI\res/values-sw600dp-port
invalid resource directory name: C:\Users\yo\Downloads\Compressed\New folder (2)
\SystemUI\res/values-sw720dp
invalid resource directory name: C:\Users\yo\Downloads\Compressed\New folder (2)
\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\yo\AppData\Local\Temp\APKT
OOL3042390860033165785.tmp, -I, C:\Users\yo\apktool\framework\1.apk, -S, C:\User
s\yo\Downloads\Compressed\New folder (2)\SystemUI\res, -M, C:\Users\yo\Downloads
\Compressed\New folder (2)\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\yo\AppData\Local\Temp\APKTOOL3042390860033165785.tmp, -I, C:\Users\yo\apkto
ol\framework\1.apk, -S, C:\Users\yo\Downloads\Compressed\New folder (2)\SystemUI
\res, -M, C:\Users\yo\Downloads\Compressed\New folder (2)\SystemUI\AndroidManife
st.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
plz help me
shubhamj596 said:
invalid resource directory name: C:\Users\yo\Downloads\Compressed\New folder (2)
\SystemUI\res/drawable-sw600dp-mdpi
Click to expand...
Click to collapse
I think this is the problem. First try to put the kitchen somewhere in a parth where no spaces occur in the build path. Then try to build the apk. If still you're facing problems. Reply back here.