[General Questions and Answers] fishingfon:
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