hello .. need help
could some want help me for resolve the problem
i try to update aapt.exe .. jar and else i have the same result .. thank you big appreciated
C:\ICS Apktool>apktool d framework-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\ICS Apktool>apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 15, --target-sdk-version, 15, -F, C:\Users\GumZ\AppData\Local\Temp\
APKTOOL9205491744427801309.tmp, -x, -0, arsc, -S, C:\ICS Apktool\framework-res\r
es, -M, C:\ICS Apktool\framework-res\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, C:
\Users\GumZ\AppData\Local\Temp\APKTOOL9205491744427801309.tmp, -x, -0, arsc, -S,
C:\ICS Apktool\framework-res\res, -M, C:\ICS Apktool\framework-res\AndroidManif
est.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 15, --target-sdk-version, 15, -F, C:\Users\GumZ\AppData\Local\Temp\AP
KTOOL9205491744427801309.tmp, -x, -0, arsc, -S, C:\ICS Apktool\framework-res\res
, -M, C:\ICS Apktool\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
C:\ICS Apktool>
Code:
C:\Users\David\Desktop\Android Tools\apktool1.5.2>apktool if framework-res.apk
I: Framework installed to: C:\Users\David\apktool\framework\1.apk
C:\Users\David\Desktop\Android Tools\apktool1.5.2>apktool d Home.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\David\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Loading resource table from file: C:\Users\David\apktool\framework\2.apk
I: Loaded.
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\Users\David\Desktop\Android Tools\apktool1.5.2>apktool b Home Home.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\David\Desktop\Android Tools\apktool1.5.2\Home\res\values\styles.xml:21:
error: Error retrieving parent for item: No resource found that matches the giv
en name 'Layout'.
C:\Users\David\Desktop\Android Tools\apktool1.5.2\Home\res\values\styles.xml:29:
error: Error retrieving parent for item: No resource found that matches the giv
en name 'Layout.CuiMainMenuItem'.
C:\Users\David\Desktop\Android Tools\apktool1.5.2\Home\res\values-land\styles.xm
l:3: error: Error retrieving parent for item: No resource found that matches the
given name 'Layout.CuiMainMenuItem'.
C:\Users\David\Desktop\Android Tools\apktool1.5.2\Home\res\values\styles.xml:45:
error: Error retrieving parent for item: No resource found that matches the giv
en name 'Layout.CuiMainMenuItem'.
C:\Users\David\Desktop\Android Tools\apktool1.5.2\Home\res\values\styles.xml:53:
error: Error retrieving parent for item: No resource found that matches the giv
en name 'Layout'.
C:\Users\David\Desktop\Android Tools\apktool1.5.2\Home\res\values-land\styles.xm
l:24: error: Error retrieving parent for item: No resource found that matches th
e given name 'Layout'.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\David\AppData\Local\Temp
\APKTOOL8829101515579145139.tmp, -0, arsc, -I, C:\Users\David\apktool\framework\
1.apk, -I, C:\Users\David\apktool\framework\2.apk, -S, C:\Users\David\Desktop\An
droid Tools\apktool1.5.2\Home\res, -M, C:\Users\David\Desktop\Android Tools\apkt
ool1.5.2\Home\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:
\Users\David\AppData\Local\Temp\APKTOOL8829101515579145139.tmp, -0, arsc, -I, C:
\Users\David\apktool\framework\1.apk, -I, C:\Users\David\apktool\framework\2.apk
, -S, C:\Users\David\Desktop\Android Tools\apktool1.5.2\Home\res, -M, C:\Users\D
avid\Desktop\Android Tools\apktool1.5.2\Home\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 16, --target-sdk-version, 16, -F, C:\Users\David\AppData\Local\Temp\A
PKTOOL8829101515579145139.tmp, -0, arsc, -I, C:\Users\David\apktool\framework\1.
apk, -I, C:\Users\David\apktool\framework\2.apk, -S, C:\Users\David\Desktop\Andr
oid Tools\apktool1.5.2\Home\res, -M, C:\Users\David\Desktop\Android Tools\apktoo
l1.5.2\Home\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
Here is the log. as you can see the framework is installed but I still get some problem in the values
Hi,
I am trying to translate the ROM MIUI in French for my personal use, but I'm having problems when I rebuild an apk using ApkTool.
I've downloaded MIUI from here : en.miui.com/thread-2651-1-1.html for my Huawei Honor2 U9508
I've redownloaded ApkTool from Google Code several time and reinstall Java. I also run CMD as an administrator.
I've tried to decompiled several MIUI apk like Backup.apk, Contact.apk, DesClock.apk... But I always get the same error.
Also I hadn't touch or add anything in the apk.
Here is what I get on CMD :
Code:
Microsoft Windows [version 6.2.9200]
(c) 2012 Microsoft Corporation. Tous droits réservés.
C:\Windows\system32>cd C:\Apktool\
C:\Apktool>apktool if framework-res.apk
I: Framework installed to: C:\Users\Thomas\apktool\framework\1.apk
C:\Apktool>apktool if framework-miui-res.apk
I: Framework installed to: C:\Users\Thomas\apktool\framework\6.apk
C:\Apktool>apktool d Backup.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Thomas\apktool\framework\1.apk
I: Loaded.
I: Loading resource table from file: C:\Users\Thomas\apktool\framework\6.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\Apktool>apktool b Backup C:\Apktool\Compile\Backup.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\Apktool\Backup\res/values-largeui
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Thomas\AppData\Local\Tem
p\APKTOOL6764776722780995012.tmp, -0, arsc, -I, C:\Users\Thomas\apktool\framewor
k\1.apk, -I, C:\Users\Thomas\apktool\framework\6.apk, -S, C:\Apktool\Backup\res,
-M, C:\Apktool\Backup\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:
\Users\Thomas\AppData\Local\Temp\APKTOOL6764776722780995012.tmp, -0, arsc, -I, C
:\Users\Thomas\apktool\framework\1.apk, -I, C:\Users\Thomas\apktool\framework\6.
apk, -S, C:\Apktool\Backup\res, -M, C:\Apktool\Backup\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 16, --target-sdk-version, 16, -F, C:\Users\Thomas\AppData\Local\Temp\
APKTOOL6764776722780995012.tmp, -0, arsc, -I, C:\Users\Thomas\apktool\framework\
1.apk, -I, C:\Users\Thomas\apktool\framework\6.apk, -S, C:\Apktool\Backup\res, -
M, C:\Apktool\Backup\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
C:\Apktool>
Can anyone help my with those errors ?
Thanks,
MrSawler
MrSawler said:
Hi,
I am trying to translate the ROM MIUI in French for my personal use, but I'm having problems when I rebuild an apk using ApkTool.
I've downloaded MIUI from here : en.miui.com/thread-2651-1-1.html for my Huawei Honor2 U9508
I've redownloaded ApkTool from Google Code several time and reinstall Java. I also run CMD as an administrator.
I've tried to decompiled several MIUI apk like Backup.apk, Contact.apk, DesClock.apk... But I always get the same error.
Also I hadn't touch or add anything in the apk.
Here is what I get on CMD :
Code:
invalid resource directory name: C:\Apktool\Backup\res/values-largeui
Can anyone help my with those errors ?
Thanks,
MrSawler
Click to expand...
Click to collapse
It's really only one error. Apktool hasn't heard of the values-largeui folder. Try deleting that folder and trying again.
That should work. If it turns out you need that folder for the app to work..well, then you're in trouble.
Sent from my SK17i using XDA Premium 4 mobile app
Ticklefish said:
It's really only one error. Apktool hasn't heard of the values-largeui folder. Try deleting that folder and trying again.
That should work. If it turns out you need that folder for the app to work..well, then you're in trouble.
Sent from my SK17i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Hi,
Thanks for the answer. I've juste deleted the folder but I'm having a new error :
Microsoft Windows [version 6.2.9200]
(c) 2012 Microsoft Corporation. Tous droits réservés.
C:\Windows\system32>cd C:\Apktool\
C:\Apktool>apktool b Backup C:\Apktool\Compile\Backup.apk
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\Apktool\Backup\res\values\public.xml:60: error: Public symbol bool/miui_font_
scale_switch declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Thomas\AppData\Local\Tem
p\APKTOOL55933037199130517.tmp, -0, arsc, -I, C:\Users\Thomas\apktool\framework\
1.apk, -I, C:\Users\Thomas\apktool\framework\6.apk, -S, C:\Apktool\Backup\res, -
M, C:\Apktool\Backup\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:
\Users\Thomas\AppData\Local\Temp\APKTOOL55933037199130517.tmp, -0, arsc, -I, C:\
Users\Thomas\apktool\framework\1.apk, -I, C:\Users\Thomas\apktool\framework\6.ap
k, -S, C:\Apktool\Backup\res, -M, C:\Apktool\Backup\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 16, --target-sdk-version, 16, -F, C:\Users\Thomas\AppData\Local\Temp\
APKTOOL55933037199130517.tmp, -0, arsc, -I, C:\Users\Thomas\apktool\framework\1.
apk, -I, C:\Users\Thomas\apktool\framework\6.apk, -S, C:\Apktool\Backup\res, -M,
C:\Apktool\Backup\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
C:\Apktool>
Click to expand...
Click to collapse
And when I delete the line in public.xml, I'm getting another error :
C:\Apktool>apktool b Backup C:\Apktool\Compile\Backup.apk
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Thomas\AppData\Local\Tem
p\APKTOOL4253075425418164642.tmp, -0, arsc, -I, C:\Users\Thomas\apktool\framewor
k\1.apk, -I, C:\Users\Thomas\apktool\framework\6.apk, -S, C:\Apktool\Backup\res,
-M, C:\Apktool\Backup\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:
\Users\Thomas\AppData\Local\Temp\APKTOOL4253075425418164642.tmp, -0, arsc, -I, C
:\Users\Thomas\apktool\framework\1.apk, -I, C:\Users\Thomas\apktool\framework\6.
apk, -S, C:\Apktool\Backup\res, -M, C:\Apktool\Backup\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 16, --target-sdk-version, 16, -F, C:\Users\Thomas\AppData\Local\Temp\
APKTOOL4253075425418164642.tmp, -0, arsc, -I, C:\Users\Thomas\apktool\framework\
1.apk, -I, C:\Users\Thomas\apktool\framework\6.apk, -S, C:\Apktool\Backup\res, -
M, C:\Apktool\Backup\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
C:\Apktool>
Click to expand...
Click to collapse
MrSawler said:
Hi,
I am trying to translate the ROM MIUI in French for my personal use, but I'm having problems when I rebuild an apk using ApkTool.
I've downloaded MIUI from here : en.miui.com/thread-2651-1-1.html for my Huawei Honor2 U9508
I've redownloaded ApkTool from Google Code several time and reinstall Java. I also run CMD as an administrator.
I've tried to decompiled several MIUI apk like Backup.apk, Contact.apk, DesClock.apk... But I always get the same error.
Also I hadn't touch or add anything in the apk.
Here is what I get on CMD :
Code:
Microsoft Windows [version 6.2.9200]
(c) 2012 Microsoft Corporation. Tous droits réservés.
C:\Windows\system32>cd C:\Apktool\
C:\Apktool>apktool if framework-res.apk
I: Framework installed to: C:\Users\Thomas\apktool\framework\1.apk
C:\Apktool>apktool if framework-miui-res.apk
I: Framework installed to: C:\Users\Thomas\apktool\framework\6.apk
C:\Apktool>apktool d Backup.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Thomas\apktool\framework\1.apk
I: Loaded.
I: Loading resource table from file: C:\Users\Thomas\apktool\framework\6.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\Apktool>apktool b Backup C:\Apktool\Compile\Backup.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\Apktool\Backup\res/values-largeui
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Thomas\AppData\Local\Tem
p\APKTOOL6764776722780995012.tmp, -0, arsc, -I, C:\Users\Thomas\apktool\framewor
k\1.apk, -I, C:\Users\Thomas\apktool\framework\6.apk, -S, C:\Apktool\Backup\res,
-M, C:\Apktool\Backup\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:
\Users\Thomas\AppData\Local\Temp\APKTOOL6764776722780995012.tmp, -0, arsc, -I, C
:\Users\Thomas\apktool\framework\1.apk, -I, C:\Users\Thomas\apktool\framework\6.
apk, -S, C:\Apktool\Backup\res, -M, C:\Apktool\Backup\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 16, --target-sdk-version, 16, -F, C:\Users\Thomas\AppData\Local\Temp\
APKTOOL6764776722780995012.tmp, -0, arsc, -I, C:\Users\Thomas\apktool\framework\
1.apk, -I, C:\Users\Thomas\apktool\framework\6.apk, -S, C:\Apktool\Backup\res, -
M, C:\Apktool\Backup\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
C:\Apktool>
Can anyone help my with those errors ?
Thanks,
MrSawler
Click to expand...
Click to collapse
Hi Bro For Miui apk its require special miui apktool
download the miui apktool from here
MrSawler said:
Hi,
I am trying to translate the ROM MIUI in French for my personal use, but I'm having problems when I rebuild an apk using ApkTool.
I've downloaded MIUI from here : en.miui.com/thread-2651-1-1.html for my Huawei Honor2 U9508
I've redownloaded ApkTool from Google Code several time and reinstall Java. I also run CMD as an administrator.
I've tried to decompiled several MIUI apk like Backup.apk, Contact.apk, DesClock.apk... But I always get the same error.
Also I hadn't touch or add anything in the apk.
Here is what I get on CMD :
Code:
Microsoft Windows [version 6.2.9200]
(c) 2012 Microsoft Corporation. Tous droits réservés.
C:\Windows\system32>cd C:\Apktool\
C:\Apktool>apktool if framework-res.apk
I: Framework installed to: C:\Users\Thomas\apktool\framework\1.apk
C:\Apktool>apktool if framework-miui-res.apk
I: Framework installed to: C:\Users\Thomas\apktool\framework\6.apk
C:\Apktool>apktool d Backup.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Thomas\apktool\framework\1.apk
I: Loaded.
I: Loading resource table from file: C:\Users\Thomas\apktool\framework\6.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\Apktool>apktool b Backup C:\Apktool\Compile\Backup.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\Apktool\Backup\res/values-largeui
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Thomas\AppData\Local\Tem
p\APKTOOL6764776722780995012.tmp, -0, arsc, -I, C:\Users\Thomas\apktool\framewor
k\1.apk, -I, C:\Users\Thomas\apktool\framework\6.apk, -S, C:\Apktool\Backup\res,
-M, C:\Apktool\Backup\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:
\Users\Thomas\AppData\Local\Temp\APKTOOL6764776722780995012.tmp, -0, arsc, -I, C
:\Users\Thomas\apktool\framework\1.apk, -I, C:\Users\Thomas\apktool\framework\6.
apk, -S, C:\Apktool\Backup\res, -M, C:\Apktool\Backup\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 16, --target-sdk-version, 16, -F, C:\Users\Thomas\AppData\Local\Temp\
APKTOOL6764776722780995012.tmp, -0, arsc, -I, C:\Users\Thomas\apktool\framework\
1.apk, -I, C:\Users\Thomas\apktool\framework\6.apk, -S, C:\Apktool\Backup\res, -
M, C:\Apktool\Backup\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
C:\Apktool>
Can anyone help my with those errors ?
Thanks,
MrSawler
Click to expand...
Click to collapse
Don't delete that folder, invalid resource directory errors are often due to old aapt. Make sure you are using latest aapt.
Sent from my Sony Xperia L (C2104) using Tapatalk 4 beta
Hi,
khan_frd2002 said:
Hi Bro For Miui apk its require special miui apktool
download the miui apktool from here
Click to expand...
Click to collapse
Thanks for the link, it work now, I have no more error, thanks !
varun.chitre15 said:
Don't delete that folder, invalid resource directory errors are often due to old aapt. Make sure you are using latest aapt.
Sent from my Sony Xperia L (C2104) using Tapatalk 4 beta
Click to expand...
Click to collapse
Do you know where I can only download appt ? Do I have to download the whole SDK ? Because my internet connection is a little bit slow...
MrSawler said:
Hi,
Thanks for the link, it work now, I have no more error, thanks !
Do you know where I can only download appt ? Do I have to download the whole SDK ? Because my internet connection is a little bit slow...
Click to expand...
Click to collapse
you cant get the latest apktool and appt from here
http://forum.xda-developers.com/showthread.php?t=1755243
khan_frd2002 said:
you cant get the latest apktool and appt from here
http://forum.xda-developers.com/showthread.php?t=1755243
Click to expand...
Click to collapse
Hi,
Thanks for the link, but that was where I've download Apktool and aapt, so they where not out of date.
But your MIUI Apktool seems to be working, so I will juste use it instead. But is it possible to make the same for Linux ? I would like to use it with Debian too.
Thanks,
MrSawler