Hey,
I decompiled settings.apk from LewaOS (non odexed) to translate it, I translated several strings to only check but when I try to compile it back (apktool b settings NEWsettings.apk )
I got this error:
Code:
[email protected]:~/APK$ apktool b settings n.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.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, /tmp/APKTOOL9063077177634782365.tmp, -0, arsc, -I, /home/lozohcum/apktool/framework/1.apk, -S, /home/lozohcum/APK/settings/res, -M, /home/lozohcum/APK/settings/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, 10, --target-sdk-version, 10, -F, /tmp/APKTOOL9063077177634782365.tmp, -0, arsc, -I, /home/lozohcum/apktool/framework/1.apk, -S, /home/lozohcum/APK/settings/res, -M, /home/lozohcum/APK/settings/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, /tmp/APKTOOL9063077177634782365.tmp, -0, arsc, -I, /home/lozohcum/apktool/framework/1.apk, -S, /home/lozohcum/APK/settings/res, -M, /home/lozohcum/APK/settings/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:93)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": java.io.IOException: error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:466)
at brut.util.OS.exec(OS.java:84)
... 7 more
Caused by: java.io.IOException: java.io.IOException: error=13, Permission denied
at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 10 more
Can you help me with this?
I realy want to translate my ports
Try Change permision in setting source ( via chmod 777) .
permission of what? of out folder or permission for apktool?
Why didn't you compile a deodexed apk?
hey,i am trying to decompile contacts.apk from my micromax a52.
i tried from apk manager and apk multi tools but it is giving error
Code:
can't find framework resources for package of id:2.you must install proper framework files.
now i installed framework files to my computer and also by using "pull dependencies from device".
but still couldn't decompile it properly.it is also giving error during recompiling if i ignore those error and mod it.
Code:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:\Users\aman\AppData\Local\Temp\APKTOOL2048703324560073052.tmp, -0, arsc, -I, C:\Users\aman\apktool\framework\1.apk, -S, C:\APK-Multi-Tool\other\..\projects\Contacts.apk\res, -M, C:\APK-Multi-Tool\other\..\projects\Contacts.apk\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, 10, --target-sdk-version, 10, -F, C:\Users\aman\AppData\Local\Temp\APKTOOL2048703324560073052.tmp, -0, arsc, -I, C:\Users\aman\apktool\framework\1.apk, -S, C:\APK-Multi-Tool\other\..\projects\Contacts.apk\res, -M, C:\APK-Multi-Tool\other\..\projects\Contacts.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:\Users\aman\AppData\Local\Temp\APKTOOL2048703324560073052.tmp, -0, arsc, -I, C:\Users\aman\apktool\framework\1.apk, -S, C:\APK-Multi-Tool\other\..\projects\Contacts.apk\res, -M, C:\APK-Multi-Tool\other\..\projects\Contacts.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
plsss someone give a helping hand.
Have sdk installed and then try again.I could not help with apkmulti tools but in original apktool,you can install frameworks with
Code:
java -jar apktool.jar if framework-apk
Sent from my GT-N7000 using xda app-developers app
already installed framework!!
vijai2011 said:
Have sdk installed and then try again.I could not help with apkmulti tools but in original apktool,you can install frameworks with
Code:
java -jar apktool.jar if framework-apk
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
have already installed framework from my phone from which that app is taken.
amank22 said:
have already installed framework from my phone from which that app is taken.
Click to expand...
Click to collapse
If its a samsung phone,did yoh also install twframework-res.apk?And htc also has 1 more framework but I don't know what it is as I have never owned a htc or modded one.Also have sdk?
Sent from my GT-N7000 using xda app-developers app
amank22 said:
hey,i am trying to decompile contacts.apk from my micromax a52.
i tried from apk manager and apk multi tools but it is giving error
Code:
can't find framework resources for package of id:2.you must install proper framework files.
now i installed framework files to my computer and also by using "pull dependencies from device".
but still couldn't decompile it properly.it is also giving error during recompiling if i ignore those error and mod it.
Code:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:\Users\aman\AppData\Local\Temp\APKTOOL2048703324560073052.tmp, -0, arsc, -I, C:\Users\aman\apktool\framework\1.apk, -S, C:\APK-Multi-Tool\other\..\projects\Contacts.apk\res, -M, C:\APK-Multi-Tool\other\..\projects\Contacts.apk\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, 10, --target-sdk-version, 10, -F, C:\Users\aman\AppData\Local\Temp\APKTOOL2048703324560073052.tmp, -0, arsc, -I, C:\Users\aman\apktool\framework\1.apk, -S, C:\APK-Multi-Tool\other\..\projects\Contacts.apk\res, -M, C:\APK-Multi-Tool\other\..\projects\Contacts.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:\Users\aman\AppData\Local\Temp\APKTOOL2048703324560073052.tmp, -0, arsc, -I, C:\Users\aman\apktool\framework\1.apk, -S, C:\APK-Multi-Tool\other\..\projects\Contacts.apk\res, -M, C:\APK-Multi-Tool\other\..\projects\Contacts.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
plsss someone give a helping hand.
Click to expand...
Click to collapse
Pull out all the *.apk files from /system/framework/
N install them.
The frst bein framework-res.apk n thn the others.
Only *.apk files. Not *.jar files.
I tink it will help u get over your prblms..
Don't be lazy.
Lift your hand n press the Thanxxx Button.=)
ok ok..will do it n tell it if it solves my problem..
help me i have same issue when i compliling
i'm installed java and framework-res.apk
Please enter the number of your choice: 1
Enter the name of the folder to assembly (ex: dis_Name.apk) : dis_commod.apk
FICHIER
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: D:\documents\ANDROID\tool mod android\easy apk\
dis_commod.apk\res/drawable-xxhdpi
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 9, --target-sdk-version, 18, -F, C:\Users\Finish\AppData\Local\Temp
\APKTOOL2014611683841755200.tmp, -0, arsc, -I, C:\Users\Finish\apktool\framework
\1.apk, -S, D:\documents\ANDROID\tool mod android\easy apk\dis_commod.apk\res, -
M, D:\documents\ANDROID\tool mod android\easy apk\dis_commod.apk\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, 9, --target-sdk-version, 18, -F, C:\
Users\Finish\AppData\Local\Temp\APKTOOL2014611683841755200.tmp, -0, arsc, -I, C:
\Users\Finish\apktool\framework\1.apk, -S, D:\documents\ANDROID\tool mod android
\easy apk\dis_commod.apk\res, -M, D:\documents\ANDROID\tool mod android\easy apk
\dis_commod.apk\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, 9, --target-sdk-version, 18, -F, C:\Users\Finish\AppData\Local\Temp\A
PKTOOL2014611683841755200.tmp, -0, arsc, -I, C:\Users\Finish\apktool\framework\1
.apk, -S, D:\documents\ANDROID\tool mod android\easy apk\dis_commod.apk\res, -M,
D:\documents\ANDROID\tool mod android\easy apk\dis_commod.apk\AndroidManifest.x
ml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
java.io.FileNotFoundException: dis_commod.apk\dist\commod.apk (The system cannot
find the path specified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at com.android.signapk.SignApk.main(SignApk.java:320)
Press any key to continue . . .
Click to expand...
Click to collapse
change the path names
superuser.pm said:
help me i have same issue when i compliling
i'm installed java and framework-res.apk
Click to expand...
Click to collapse
I think your problem lies in this line:
Code:
invalid resource directory name: D:\documents\ANDROID\tool mod android\easy apk\
dis_commod.apk\res/drawable-xxhdpi
try to remove the blank charcters from the path...change folder names in the path.
I have this error when I try to compile:
Code:
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Proprietario\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Proprietario\Desktop\APK-Multi-Tool\other\..\projects\Maps.to.Sygic_v9.0.apk\res\values\styles.xml:176: error: Error retrieving parent for item: No resource found that matches the given name 'Base.ThemeOverlay'.
C:\Users\Proprietario\Desktop\APK-Multi-Tool\other\..\projects\Maps.to.Sygic_v9.0.apk\res\values\styles.xml:462: error: Error retrieving parent for item: No resource found that matches the given name 'Base.Widget.AppCompat'.
C:\Users\Proprietario\Desktop\APK-Multi-Tool\other\..\projects\Maps.to.Sygic_v9.0.apk\res\values\styles.xml:506: error: Error retrieving parent for item: No resource found that matches the given name 'Base.Widget.AppCompat'.
C:\Users\Proprietario\Desktop\APK-Multi-Tool\other\..\projects\Maps.to.Sygic_v9.0.apk\res\values\styles.xml:527: error: Error retrieving parent for item: No resource found that matches the given name 'Base.Widget.AppCompat'.
C:\Users\Proprietario\Desktop\APK-Multi-Tool\other\..\projects\Maps.to.Sygic_v9.0.apk\res\values\styles.xml:535: error: Error retrieving parent for item: No resource found that matches the given name 'Base.Widget.AppCompat'.
C:\Users\Proprietario\Desktop\APK-Multi-Tool\other\..\projects\Maps.to.Sygic_v9.0.apk\res\values-v21\styles.xml:65: error: Error retrieving parent for item: No resource found that matches the given name 'Base.Widget.AppCompat'.
C:\Users\Proprietario\Desktop\APK-Multi-Tool\other\..\projects\Maps.to.Sygic_v9.0.apk\res\values\styles.xml:554: error: Error retrieving parent for item: No resource found that matches the given name 'Base.Widget.AppCompat'.
C:\Users\Proprietario\Desktop\APK-Multi-Tool\other\..\projects\Maps.to.Sygic_v9.0.apk\res\values\styles.xml:564: error: Error retrieving parent for item: No resource found that matches the given name 'Base.Widget.AppCompat.DropDownItem'.
C:\Users\Proprietario\Desktop\APK-Multi-Tool\other\..\projects\Maps.to.Sygic_v9.0.apk\res\values\styles.xml:603: error: Error retrieving parent for item: No resource found that matches the given name 'Base.Widget.AppCompat'.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 21, -F, C:\Users\PROPRI~1\AppData\Local\Temp\APKTOOL3070521381926684717.tmp, -0, arsc, -I, C:\Users\Proprietario\apktool\framework\1.apk, -S, C:\Users\Proprietario\Desktop\APK-Multi-Tool\other\..\projects\Maps.to.Sygic_v9.0.apk\res, -M, C:\Users\Proprietario\Desktop\APK-Multi-Tool\other\..\projects\Maps.to.Sygic_v9.0.apk\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, 10, --target-sdk-version, 21, -F, C:\Users\PROPRI~1\AppData\Local\Temp\APKTOOL3070521381926684717.tmp, -0, arsc, -I, C:\Users\Proprietario\apktool\framework\1.apk, -S, C:\Users\Proprietario\Desktop\APK-Multi-Tool\other\..\projects\Maps.to.Sygic_v9.0.apk\res, -M, C:\Users\Proprietario\Desktop\APK-Multi-Tool\other\..\projects\Maps.to.Sygic_v9.0.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 21, -F, C:\Users\PROPRI~1\AppData\Local\Temp\APKTOOL3070521381926684717.tmp, -0, arsc, -I, C:\Users\Proprietario\apktool\framework\1.apk, -S, C:\Users\Proprietario\Desktop\APK-Multi-Tool\other\..\projects\Maps.to.Sygic_v9.0.apk\res, -M, C:\Users\Proprietario\Desktop\APK-Multi-Tool\other\..\projects\Maps.to.Sygic_v9.0.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
What's the problem?
Thanks.
i has some problem when i recompiling miuisystemui.apk , please help me how to fix ( my english is not good )
invalid resource directory name: D:\apktool\miuisystemui\res/values-fr-largeui
invalid resource directory name: D:\apktool\miuisystemui\res/values-largeui
invalid resource directory name: D:\apktool\miuisystemui\res/values-mediumui
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\AS\AppData\Local\Temp\AP
KTOOL574966566911823709.tmp, -I, C:\Users\AS\apktool\framework\1.apk, -I, C:\Use
rs\AS\apktool\framework\6.apk, -S, D:\apktool\miuisystemui\res, -M, D:\apktool\m
iuisystemui\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:355)
at brut.androlib.Androlib.buildResources(Androlib.java:280)
at brut.androlib.Androlib.build(Androlib.java:203)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:214)
at brut.apktool.Main.main(Main.java:74)
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\AS\AppData\Local\Temp\APKTOOL574966566911823709.tmp, -I, C:\Users\AS\apkt
ool\framework\1.apk, -I, C:\Users\AS\apktool\framework\6.apk, -S, D:\apktool\miu
isystemui\res, -M, D:\apktool\miuisystemui\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:335)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:333)
... 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\AS\AppData\Local\Temp\APKT
OOL574966566911823709.tmp, -I, C:\Users\AS\apktool\framework\1.apk, -I, C:\Users
\AS\apktool\framework\6.apk, -S, D:\apktool\miuisystemui\res, -M, D:\apktool\miu
isystemui\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:333)
... 6 more
please ,help me!!!
hello freinds Got This Error always when decompile any apk and i used all apk tools but same . can anyone help me out
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\AndroidMultitool\Decompiled_apk\Settings\res/values-largeui
invalid resource directory name: C:\AndroidMultitool\Decompiled_apk\Settings\res/values-largeui-xhdpi
invalid resource directory name: C:\AndroidMultitool\Decompiled_apk\Settings\res/values-mediumui
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\Java\AppData\Local\Temp\APKTOOL5856912769995947607.tmp, -0, arsc, -I, C:\Users\Java\apktool\framework\1.apk, -I, C:\Users\Java\apktool\framework\6.apk, -S, C:\AndroidMultitool\Decompiled_apk\Settings\res, -M, C:\AndroidMultitool\Decompiled_apk\Settings\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, 17, --target-sdk-version, 17, -F, C:\Users\Java\AppData\Local\Temp\APKTOOL5856912769995947607.tmp, -0, arsc, -I, C:\Users\Java\apktool\framework\1.apk, -I, C:\Users\Java\apktool\framework\6.apk, -S, C:\AndroidMultitool\Decompiled_apk\Settings\res, -M, C:\AndroidMultitool\Decompiled_apk\Settings\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\Java\AppData\Local\Temp\APKTOOL5856912769995947607.tmp, -0, arsc, -I, C:\Users\Java\apktool\framework\1.apk, -I, C:\Users\Java\apktool\framework\6.apk, -S, C:\AndroidMultitool\Decompiled_apk\Settings\res, -M, C:\AndroidMultitool\Decompiled_apk\Settings\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
The system cannot find the file specified.
The system cannot find the file specified.
I receive the following errors when I modify colors.xml & attempt to recompile Titanium Backup using apktool. Help regarding the errors will be appreciated.
C:\Apktool>apktool b com.keramidas.TitaniumBackup-1
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\Apktool\com.keramidas.TitaniumBackup-1\AndroidManifest.xml:2: error: Error parsing XML: not well-formed (invalid token)
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\MR8692~1.GAB\AppData\Local\Temp\APKTOOL7836593964825271914.tmp, -0, arsc, -I, C:\Users\Mr. Gabriel Gonzalez\apktool\framework\1.apk, -S, C:\Apktool\com.keramidas.TitaniumBackup-1\res, -M, C:\Apktool\com.keramidas.TitaniumBackup-1\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, -F, C:\Users\MR8692~1.GAB\AppData\Local\Temp\APKTOOL7836593964825271914.tmp, -0, arsc, -I, C:\Users\Mr. Gabriel Gonzalez\apktool\framework\1.apk, -S, C:\Apktool\com.keramidas.TitaniumBackup-1\res, -M, C:\Apktool\com.keramidas.TitaniumBackup-1\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\MR8692~1.GAB\AppData\Local\Temp\APKTOOL7836593964825271914.tmp, -0, arsc, -I, C:\Users\Mr. Gabriel Gonzalez\apktool\framework\1.apk, -S, C:\Apktool\com.keramidas.TitaniumBackup-1\res, -M, C:\Apktool\com.keramidas.TitaniumBackup-1\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Click to expand...
Click to collapse