Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[UPDATE]Universal Multipurpose AutoAPKTool 2.0.4a

OP agat63

16th April 2012, 08:51 AM   |  #51  
12MaNy's Avatar
Recognized Themer
Flag Seattle
Thanks Meter: 762
 
2,189 posts
Join Date:Joined: Jun 2010
More
Yep.....decompiled/recompiled without a hitch for me too. Thanks agat63
19th April 2012, 07:51 PM   |  #52  
sleshepic's Avatar
Recognized Themer
Flag PA
Thanks Meter: 6,780
 
3,791 posts
Join Date:Joined: Oct 2011
Donate to Me
More
Used this for the first time last night, amazing, all in all almost too easy. Thanks Agat63.

One question though, I'm having issues with framework_helper(to add public.xml entries) and was wondering whether this version of apktool mods the public.xml like apk manager? Or whether I have to manually do it. Trying to add images for pulldown animation, and charging animation. Thanks!

Edit: Getting this on recompile of fd16 framework-res, also having trouble with fd16 systemui. not sure whats up, doing everything I can think of. Think I have to check syntax in plurals and strings maybe

[*] C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res
recompiling C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res...
W: Could not find sources
I: Building resources...
aapt: warning: string 'mobileap_notification' has no default translation in C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res; found: es_US
aapt: warning: string 'policydesc_allow_htmlemail' has no default translation in C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res; found: en_US
aapt: warning: string 'policylab_allow_htmlemail' has no default translation in C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res; found: en_US
aapt: warning: string 'wifi_p2p_pbc_go_negotiation_request_message' has no default translation in C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res; found: es
aapt: warning: string 'wifi_p2p_pin_display_message' has no default translation in C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res; found: es
aapt: warning: string 'wifi_p2p_pin_go_negotiation_request_message' has no default translation in C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res; found: es
C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res\values\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res\values\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res\values-en-rUS\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res\values-en-rUS\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res\values-es\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res\values-es\plurals.xml:79: error: Found tag </item> where </plurals> is expected
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Slesh\AppData\Local\Temp\APKTOOL499578841 8808299772.tmp, -x, -S, C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res, -M, C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\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\Slesh\AppData\Local\Temp\APKTOOL499578841 8808299772.tmp, -x, -S, C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res, -M, C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:191)
... 6 more
The system cannot find the drive specified.

Sent from my SPH-D710 using xda premium
Last edited by sleshepic; 20th April 2012 at 06:22 AM.
22nd April 2012, 12:59 AM   |  #53  
12MaNy's Avatar
Recognized Themer
Flag Seattle
Thanks Meter: 762
 
2,189 posts
Join Date:Joined: Jun 2010
More
Getting errors on framework-res.apk too. Tried adding additional framework files (option 81), but still errored out.





[*] "C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res"
recompiling "C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res"...
W: Could not find sources
I: Building resources...
invalid resource directory name: C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/animator
invalid resource directory name: C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/drawable-sw600dp-hdpi
invalid resource directory name: C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/interpolator
invalid resource directory name: C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/layout-sw400dp
invalid resource directory name: C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/layout-sw600dp
invalid resource directory name: C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/layout-w600dp
invalid resource directory name: C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/mipmap-hdpi
invalid resource directory name: C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/mipmap-ldpi
invalid resource directory name: C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/mipmap-mdpi
invalid resource directory name: C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/mipmap-xhdpi
invalid resource directory name: C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-h720dp
invalid resource directory name: C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw400dp
invalid resource directory name: C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw600dp
invalid resource directory name: C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw600dp-land
invalid resource directory name: C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw600dp-w1024dp
invalid resource directory name: C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw600dp-w1280dp
invalid resource directory name: C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-w360dp
invalid resource directory name: C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-w480dp
invalid resource directory name: C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-w500dp
invalid resource directory name: C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-w600dp
invalid resource directory name: C:\Users\Jason\Desktop\Android Files\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\Jason\AppData\Local\Temp\APKTOOL869772644 5354685819.tmp, -x, -S, C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res, -M, C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\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\Jason\AppData\Local\Temp\APKTOOL869772644 5354685819.tmp, -x, -S, C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res, -M, C:\Users\Jason\Desktop\Android Files\AutoAPKTool2.0.4\_INPUT_APK\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:191)
... 6 more
Last edited by 12MaNy; 22nd April 2012 at 01:26 AM.
28th April 2012, 05:48 PM   |  #54  
draxterix's Avatar
Senior Member
Flag Poland, Częstochowa
Thanks Meter: 31
 
200 posts
Join Date:Joined: Dec 2008
all localization file is dead....
Please share version 2.0.4 ... i cant find ...
28th April 2012, 06:52 PM   |  #55  
AvatarOfFrost's Avatar
Senior Member
Thanks Meter: 282
 
628 posts
Join Date:Joined: Apr 2010
More
Can't recompile. I installed the framework but still nothing.....


This is what i'm getting



*] C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res
recompiling C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res...
W: Could not find sources
I: Building resources...
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/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-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-w1024dp
invalid resource directory name: c:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw600dp-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\Leopard2\AppData\Local\Temp\APKTOOL688022 7017178037061.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(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\Leopard2\AppData\Local\Temp\APKTOOL688022 7017178037061.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(An drolibResources.java:191)
... 6 more
The system cannot find the drive specified.
28th April 2012, 07:54 PM   |  #56  
sleshepic's Avatar
Recognized Themer
Flag PA
Thanks Meter: 6,780
 
3,791 posts
Join Date:Joined: Oct 2011
Donate to Me
More
Quote:
Originally Posted by AvatarOfFrost

Can't recompile. I installed the framework but still nothing.....


This is what i'm getting



*] C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res
recompiling C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res...
W: Could not find sources
I: Building resources...
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/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-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-w1024dp
invalid resource directory name: c:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw600dp-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\Leopard2\AppData\Local\Temp\APKTOOL688022 7017178037061.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(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\Leopard2\AppData\Local\Temp\APKTOOL688022 7017178037061.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(An drolibResources.java:191)
... 6 more
The system cannot find the drive specified.

Looks like it didnt decompile correctly, see the backwards slash right before animator on the first line?

Invalid resource directory name: c:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/animator

Either try another decompile or fix the xml that had the incorrect path name i suppose...maybe? Thats what i would start with at least


Sent from my SPH-D710 using xda premium
28th April 2012, 10:44 PM   |  #57  
AvatarOfFrost's Avatar
Senior Member
Thanks Meter: 282
 
628 posts
Join Date:Joined: Apr 2010
More
if you are getting plurals.xml errors you have to go to line 79 in each xml that generated the error and add % to the second % on that line:

for example, change

<item quantity="other">%d of %d</item>

to

<item quantity="other">%d of %%d</item>

notice the double %% at the end of the line

Quote:
Originally Posted by sleshepic

Used this for the first time last night, amazing, all in all almost too easy. Thanks Agat63.

One question though, I'm having issues with framework_helper(to add public.xml entries) and was wondering whether this version of apktool mods the public.xml like apk manager? Or whether I have to manually do it. Trying to add images for pulldown animation, and charging animation. Thanks!

Edit: Getting this on recompile of fd16 framework-res, also having trouble with fd16 systemui. not sure whats up, doing everything I can think of. Think I have to check syntax in plurals and strings maybe

[*] C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res
recompiling C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res...
W: Could not find sources
I: Building resources...
aapt: warning: string 'mobileap_notification' has no default translation in C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res; found: es_US
aapt: warning: string 'policydesc_allow_htmlemail' has no default translation in C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res; found: en_US
aapt: warning: string 'policylab_allow_htmlemail' has no default translation in C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res; found: en_US
aapt: warning: string 'wifi_p2p_pbc_go_negotiation_request_message' has no default translation in C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res; found: es
aapt: warning: string 'wifi_p2p_pin_display_message' has no default translation in C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res; found: es
aapt: warning: string 'wifi_p2p_pin_go_negotiation_request_message' has no default translation in C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res; found: es
C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res\values\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res\values\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res\values-en-rUS\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res\values-en-rUS\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res\values-es\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res\values-es\plurals.xml:79: error: Found tag </item> where </plurals> is expected
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Slesh\AppData\Local\Temp\APKTOOL499578841 8808299772.tmp, -x, -S, C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res, -M, C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\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\Slesh\AppData\Local\Temp\APKTOOL499578841 8808299772.tmp, -x, -S, C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\res, -M, C:\Users\Slesh\Desktop\AutoAPKTool2.0.4\_INPUT_APK \framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:191)
... 6 more
The system cannot find the drive specified.

Sent from my SPH-D710 using xda premium

The Following 3 Users Say Thank You to AvatarOfFrost For This Useful Post: [ View ]
28th April 2012, 10:51 PM   |  #58  
sleshepic's Avatar
Recognized Themer
Flag PA
Thanks Meter: 6,780
 
3,791 posts
Join Date:Joined: Oct 2011
Donate to Me
More
Quote:
Originally Posted by AvatarOfFrost

if you are getting plurals.xml errors you have to go to line 79 in each xml that generated the error and add % to the second % on that line:

for example, change

<item quantity="other">%d of %d</item>

to

<item quantity="other">%d of %%d</item>

notice the double %% at the end of the line

Thanks, somehow got that one figured out. Thx for the heads up. This tool is great, thx again agat63

Sent from my SPH-D710 using xda premium
28th April 2012, 10:53 PM   |  #59  
agat63's Avatar
OP Recognized Contributor / Recognized Developer
Las Vegas, NV
Thanks Meter: 7,947
 
3,984 posts
Join Date:Joined: Sep 2010
Donate to Me
More
Quote:
Originally Posted by sleshepic

Thanks, somehow got that one figured out. Thx for the heads up. This tool is great, thx again agat63

Sent from my SPH-D710 using xda premium

Actually I'm changing that line from:
%d of %d to
%1$d of %2$d.

If you check one plural that doesn't listed in that error message it's exactly how the line looks like.
The Following 2 Users Say Thank You to agat63 For This Useful Post: [ View ]
29th April 2012, 02:03 AM   |  #60  
Senior Member
Flag NJ
Thanks Meter: 1,068
 
602 posts
Join Date:Joined: Nov 2011
Donate to Me
More
Dl has been telling me "This file is temporarily unavailable while we are performing maintenance on this server.
Please try to download this file again in 24 hours" Would you happen to have a mirror?

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes