5,606,722 Members 37,536 Now Online
XDA Developers Android and Mobile Development Forum

[UPDATE]Universal Multipurpose AutoAPKTool 2.0.4a

Tip us?
 
12MaNy
Old
#51  
12MaNy's Avatar
Recognized Themer
Thanks Meter 736
Posts: 2,126
Join Date: Jun 2010
Location: Seattle
Yep.....decompiled/recompiled without a hitch for me too. Thanks agat63


Some older work and ports...

Green Machine - HERE

Dark Fire X - HERE

Dark Fire Blue X - HERE


Android soldier and supporter of a world that's rid of Apple!
 
sleshepic
Old
(Last edited by sleshepic; 20th April 2012 at 05:22 AM.)
#52  
sleshepic's Avatar
Recognized Themer
Thanks Meter 5885
Posts: 3,467
Join Date: Oct 2011
Location: PA

 
DONATE TO ME
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
 
12MaNy
Old
(Last edited by 12MaNy; 22nd April 2012 at 12:26 AM.)
#53  
12MaNy's Avatar
Recognized Themer
Thanks Meter 736
Posts: 2,126
Join Date: Jun 2010
Location: Seattle
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


Some older work and ports...

Green Machine - HERE

Dark Fire X - HERE

Dark Fire Blue X - HERE


Android soldier and supporter of a world that's rid of Apple!
 
draxterix
Old
#54  
draxterix's Avatar
Senior Member
Thanks Meter 27
Posts: 180
Join Date: Dec 2008
Location: Poland, Częstochowa
all localization file is dead....
Please share version 2.0.4 ... i cant find ...
 
AvatarOfFrost
Old
#55  
AvatarOfFrost's Avatar
Senior Member
Thanks Meter 274
Posts: 607
Join Date: Apr 2010
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.
HTC Droid DNA
 
sleshepic
Old
#56  
sleshepic's Avatar
Recognized Themer
Thanks Meter 5885
Posts: 3,467
Join Date: Oct 2011
Location: PA

 
DONATE TO ME
Quote:
Originally Posted by AvatarOfFrost View Post
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
 
AvatarOfFrost
Old
#57  
AvatarOfFrost's Avatar
Senior Member
Thanks Meter 274
Posts: 607
Join Date: Apr 2010
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 View Post
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
HTC Droid DNA
The Following 3 Users Say Thank You to AvatarOfFrost For This Useful Post: [ Click to Expand ]
 
sleshepic
Old
#58  
sleshepic's Avatar
Recognized Themer
Thanks Meter 5885
Posts: 3,467
Join Date: Oct 2011
Location: PA

 
DONATE TO ME
Quote:
Originally Posted by AvatarOfFrost View Post
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
 
agat63
Old
#59  
agat63's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 7925
Posts: 3,977
Join Date: Sep 2010
Location: Las Vegas, NV

 
DONATE TO ME
Quote:
Originally Posted by sleshepic View Post
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.
My work can be found here:

http://d-h.st/users/agat/?fld_id=0#files

If you like my work and want to help
Donate Here
The Following 2 Users Say Thank You to agat63 For This Useful Post: [ Click to Expand ]
 
_dan
Old
#60  
Senior Member
Thanks Meter 1068
Posts: 602
Join Date: Nov 2011
Location: NJ

 
DONATE TO ME
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?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes