Related
I wanted to edit the settings in the default workspace such as change widgets and app icons. I wanted to do something small like change the size of the Market widget from 2x2 to 4x4. I decompiled and made the change. Then I tried to recompile using thee b(build) command. Here's what I get:
[email protected] ~ $ apktool d Launcher2.apk
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: /home/treken/apktool/framework/1.apk
I: Copying assets and libs...
[email protected] ~ $ apktool b Launcher2
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL2635074741971448593.tmp, -I, /home/treken/apktool/framework/1.apk, -S, /home/treken/Launcher2/res, -M, /home/treken/Launcher2/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL2635074741971448593.tmp, -I, /home/treken/apktool/framework/1.apk, -S, /home/treken/Launcher2/res, -M, /home/treken/Launcher2/AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 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)
... 8 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
[email protected] ~ $
Someone please help me!!!!!!! :O
It looks like you are on Linux and don't have permissions for the folder. Either modify the permissions or run in terminal as root.
Hi Everyone,
I keep trying different variations of themes and preferences and I keep getting errors. I've probably gotten about 6 today... am I doing something wrong? Here's the most recent info-
UOT Kitchen file: UOT-09-28-19-34-2
Theme: NTSense.apk (https://www.dropbox.com/s/ijwdk0t2xsti1mo)
Rom: CM7 8/12 (nightly)
Error:
"Decompiling themer.apk UOT-09-28-19-34-2
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: /root/apktool/framework/1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Compiling themer.apk UOT-09-28-19-34-2
W: Could not find sources
I: Building resources...
aapt: /usr/lib/libz.so.1: no version information available (required by aapt)
res/drawable-hdpi/stat_power_background.png:0: error: Resource entry stat_power_background is already defined.
res/drawable-hdpi/stat_power_background.9.png:0: Originally defined here.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL2677946993458652052.tmp, -x, -I, /home/uotftp/apktool/framework/1.apk, -S, /home/uotftp/port5/data/working_dir/UOT-09-28-19-34-2/th_dec/res, -M, /home/uotftp/port5/data/working_dir/UOT-09-28-19-34-2/th_dec/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL2677946993458652052.tmp, -x, -I, /home/uotftp/apktool/framework/1.apk, -S, /home/uotftp/port5/data/working_dir/UOT-09-28-19-34-2/th_dec/res, -M, /home/uotftp/port5/data/working_dir/UOT-09-28-19-34-2/th_dec/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more"
Did you try contacting the kitchen like it says if you get that error? What are you trying to do in the kitchen, what files did you upload?
Sent from my ADR6300 using xda premium
Hi,
Its a long time that I am tryeing edit system apps with apktool..
I can decompile files without any problem..But when I even add a new line in styles.xml or a new image I cant compile file anymore...Is there any steps that I forgot to do?
For example here I have add lines to style.xml file and got this
Code:
F:\Program Files (x86)\Android\Apktool1.5.2>apktool b settings
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
F:\Program Files (x86)\Android\Apktool1.5.2\settings\res\values\styles.xml:146:
error: Error retrieving parent for item: No resource found that matches the give
n name '@android:style/Theme.Holo.Dialog.Alert'.
F:\Program Files (x86)\Android\Apktool1.5.2\settings\res\values\styles.xml:150:
error: Error retrieving parent for item: No resource found that matches the give
n name '@com.sonyericsson.uxp:style/SEMCTheme'.
F:\Program Files (x86)\Android\Apktool1.5.2\settings\res\values\styles.xml:162:
error: Error retrieving parent for item: No resource found that matches the give
n name '@android:style/Theme.Holo.Dialog.Alert'.
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\CRAZYV~1\AppData\Local\T
emp\APKTOOL982444968840542437.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1.
apk, -S, F:\Program Files (x86)\Android\Apktool1.5.2\settings\res, -M, F:\Progra
m Files (x86)\Android\Apktool1.5.2\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, 15, --target-sdk-version, 15, -F, C:
\Users\CRAZYV~1\AppData\Local\Temp\APKTOOL982444968840542437.tmp, -I, C:\Users\C
razy Virus\apktool\framework\1.apk, -S, F:\Program Files (x86)\Android\Apktool1.
5.2\settings\res, -M, F:\Program Files (x86)\Android\Apktool1.5.2\settings\Andro
idManifest.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\CRAZYV~1\AppData\Local\Tem
p\APKTOOL982444968840542437.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1.ap
k, -S, F:\Program Files (x86)\Android\Apktool1.5.2\settings\res, -M, F:\Program
Files (x86)\Android\Apktool1.5.2\settings\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
or this one is for another app:
Code:
F:\Program Files (x86)\Android\Apktool1.5.2>cmd
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
F:\Program Files (x86)\Android\Apktool1.5.2>apktool d Conversations.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Crazy Virus\apktool\framework\1.ap
k
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
F:\Program Files (x86)\Android\Apktool1.5.2>apktool b Conversations
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
F:\Program Files (x86)\Android\Apktool1.5.2\Conversations\res\values\styles.xml:
25: error: Error: No resource found that matches the given name: attr 'android:s
emcWindowShowGlobalAppBackground'.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 14, --target-sdk-version, 15, -F, C:\Users\CRAZYV~1\AppData\Local\T
emp\APKTOOL3280165132194446604.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1
.apk, -S, F:\Program Files (x86)\Android\Apktool1.5.2\Conversations\res, -M, F:\
Program Files (x86)\Android\Apktool1.5.2\Conversations\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, 14, --target-sdk-version, 15, -F, C:
\Users\CRAZYV~1\AppData\Local\Temp\APKTOOL3280165132194446604.tmp, -I, C:\Users\
Crazy Virus\apktool\framework\1.apk, -S, F:\Program Files (x86)\Android\Apktool1
.5.2\Conversations\res, -M, F:\Program Files (x86)\Android\Apktool1.5.2\Conversa
tions\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, 14, --target-sdk-version, 15, -F, C:\Users\CRAZYV~1\AppData\Local\Tem
p\APKTOOL3280165132194446604.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1.a
pk, -S, F:\Program Files (x86)\Android\Apktool1.5.2\Conversations\res, -M, F:\Pr
ogram Files (x86)\Android\Apktool1.5.2\Conversations\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
F:\Program Files (x86)\Android\Apktool1.5.2>
Can some one please help me abut this problem
See the second link in my sig.
Sent from Myushi
Thanks a lot..I have already seen your topic but I cant fix my problem...
When I try to compile file without any change I still get this error ..I dont know what I must do now..I trued diffrent apktools and apk manager and .. but I cant compile system apps while I can decompile theme without any problem
Code:
F:\Program Files (x86)\Android\Apktool1.5.2>cmd
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
F:\Program Files (x86)\Android\Apktool1.5.2>apktool d conversations.apk
Destination directory (F:\Program Files (x86)\Android\Apktool1.5.2\conversations
) already exists. Use -f switch if you want to overwrite it.
F:\Program Files (x86)\Android\Apktool1.5.2>apktool d Conversations.apk
Destination directory (F:\Program Files (x86)\Android\Apktool1.5.2\Conversations
) already exists. Use -f switch if you want to overwrite it.
F:\Program Files (x86)\Android\Apktool1.5.2>apktool d Conversations.apk -f
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Crazy Virus\apktool\framework\1.ap
k
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
F:\Program Files (x86)\Android\Apktool1.5.2>apktool b Conversations
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
F:\Program Files (x86)\Android\Apktool1.5.2\Conversations\res\values\styles.xml:
8: error: Error: No resource found that matches the given name: attr 'android:su
pportsRtl'.
F:\Program Files (x86)\Android\Apktool1.5.2\Conversations\res\values\styles.xml:
15: error: Error: No resource found that matches the given name: attr 'android:s
upportsRtl'.
F:\Program Files (x86)\Android\Apktool1.5.2\Conversations\res\values\styles.xml:
22: error: Error: No resource found that matches the given name: attr 'android:s
upportsRtl'.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 14, --target-sdk-version, 15, -F, C:\Users\CRAZYV~1\AppData\Local\T
emp\APKTOOL5370304368205710480.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1
.apk, -S, F:\Program Files (x86)\Android\Apktool1.5.2\Conversations\res, -M, F:\
Program Files (x86)\Android\Apktool1.5.2\Conversations\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, 14, --target-sdk-version, 15, -F, C:
\Users\CRAZYV~1\AppData\Local\Temp\APKTOOL5370304368205710480.tmp, -I, C:\Users\
Crazy Virus\apktool\framework\1.apk, -S, F:\Program Files (x86)\Android\Apktool1
.5.2\Conversations\res, -M, F:\Program Files (x86)\Android\Apktool1.5.2\Conversa
tions\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, 14, --target-sdk-version, 15, -F, C:\Users\CRAZYV~1\AppData\Local\Tem
p\APKTOOL5370304368205710480.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1.a
pk, -S, F:\Program Files (x86)\Android\Apktool1.5.2\Conversations\res, -M, F:\Pr
ogram Files (x86)\Android\Apktool1.5.2\Conversations\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
F:\Program Files (x86)\Android\Apktool1.5.2>
Ok I have the newest apktool 1.5.2 I have installed framework-res.apk and com.htc.resources.apk but get warnings seems this is normal. I decompile Phone.apk and then tried recompiling it without making changes trying to troubleshoot the issue and I get these error's any help please.
Code:
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: c:\APK\phone\res/drawable-land-xxhdpi
invalid resource directory name: c:\APK\phone\res/drawable-xxhdpi
invalid resource directory name: c:\APK\phone\res/values-land-xxhdpi
invalid resource directory name: c:\APK\phone\res/values-xxhdpi
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 16, -F, C:\Users\JASONC~1\AppData\Local\Temp\APKTOOL827132729019243
5011.tmp, -0, arsc, -I, C:\Users\Jason CCCE LLC\apktool\framework\1.apk, -I, C:\
Users\Jason CCCE LLC\apktool\framework\2.apk, -S, c:\APK\phone\res, -M, c:\APK\p
hone\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, -F, C:\Users\JASONC~1\AppData\Lo
cal\Temp\APKTOOL8271327290192435011.tmp, -0, arsc, -I, C:\Users\Jason CCCE LLC\a
pktool\framework\1.apk, -I, C:\Users\Jason CCCE LLC\apktool\framework\2.apk, -S,
c:\APK\phone\res, -M, c:\APK\phone\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, -F, C:\Users\JASONC~1\AppData\Local\Temp\APKTOOL82713272901924350
11.tmp, -0, arsc, -I, C:\Users\Jason CCCE LLC\apktool\framework\1.apk, -I, C:\Us
ers\Jason CCCE LLC\apktool\framework\2.apk, -S, c:\APK\phone\res, -M, c:\APK\pho
ne\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
Try upgrading your aapt binary with the latest one.
Riyal said:
Try upgrading your aapt binary with the latest one.
Click to expand...
Click to collapse
I have to no avail.
The_new_user said:
I have to no avail.
Click to expand...
Click to collapse
Have you tried with framework-res.apk from api14 or api16? It should work.
There's a BUG of Phone.apk.
You can't recompile it unless you fix that bug.
(But I don't know how to fix it. :目)
having trouble recompiling the app after changing the artist color line to an ICS blue.
in the res/values/colors.xml theres a line which reads
Code:
<color name="widget_list_artist">#ff808080</color>
this needs to be changed to
Code:
<color name="widget_list_artist">#ff33B5E5</color>
recompile and done.
Samsung Music Player APK
https://www.dropbox.com/s/hzbjo9uqxjb1mn0/MusicPlayerWT.apk
not sure if its just me or if anyones able to recompile? Was doing this for a color request on the transparent music widget over in the themes section.
Well, kinda can't help without any error reports
Sent from my SGH-M919 using Tapatalk 2
elesbb said:
Well, kinda can't help without any error reports
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
but you could try and recompile the app with the changes I listed... and then let me know if its just me or not.
as far as the errors im getting this while decompiling http://pastebin.com/V9UdHqf4
and this while recompiling http://pastebin.com/x3YCarHL
havent used apktool since my early sensation days so Ive installed the new frameworks before anything. It worked back then. Going to try and start fresh with that apktool GUI link in your sig.
and using the updated GUI Apktool from your signature Im getting this:
Code:
Thu 07/18/2013
11:34:33.86
Re-compiling... "C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk"
I: Smaling...
I: Building resources...
invalid resource directory name: C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk\res/drawable-xxhdpi
invalid resource directory name: C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk\res/values-sw359dp-land-xxhdpi
invalid resource directory name: C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk\res/values-sw359dp-port-xxhdpi
invalid resource directory name: C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk\res/values-sw359dp-xxhdpi
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\IVANTR~1\AppData\Local\Temp\APKTOOL3172779546996359503.tmp, -I, C:\Users\Ivan Trueba\apktool\framework\1.apk, -I, C:\Users\Ivan Trueba\apktool\framework\2.apk, -S, C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk\res, -M, C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk\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, 17, --target-sdk-version, 17, -F, C:\Users\IVANTR~1\AppData\Local\Temp\APKTOOL3172779546996359503.tmp, -I, C:\Users\Ivan Trueba\apktool\framework\1.apk, -I, C:\Users\Ivan Trueba\apktool\framework\2.apk, -S, C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk\res, -M, C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:335)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:333)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\IVANTR~1\AppData\Local\Temp\APKTOOL3172779546996359503.tmp, -I, C:\Users\Ivan Trueba\apktool\framework\1.apk, -I, C:\Users\Ivan Trueba\apktool\framework\2.apk, -S, C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk\res, -M, C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:333)
... 6 more
-----------------------------------------------------------------
Thu 07/18/2013
11:32:55.30
Decompiling.. "C:\GUI APK Tool\MusicPlayerWT.apk"
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Ivan Trueba\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Loading resource table from file: C:\Users\Ivan Trueba\apktool\framework\2.apk
I: Loaded.
W: Cant find 9patch chunk in file: "drawable-nodpi/music_list_bg.9.png". Renaming it to *.png.
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
The Illest 619 said:
and using the updated GUI Apktool from your signature Im getting this:
Code:
Thu 07/18/2013
11:34:33.86
Re-compiling... "C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk"
I: Smaling...
I: Building resources...
invalid resource directory name: C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk\res/drawable-xxhdpi
invalid resource directory name: C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk\res/values-sw359dp-land-xxhdpi
invalid resource directory name: C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk\res/values-sw359dp-port-xxhdpi
invalid resource directory name: C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk\res/values-sw359dp-xxhdpi
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\IVANTR~1\AppData\Local\Temp\APKTOOL3172779546996359503.tmp, -I, C:\Users\Ivan Trueba\apktool\framework\1.apk, -I, C:\Users\Ivan Trueba\apktool\framework\2.apk, -S, C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk\res, -M, C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk\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, 17, --target-sdk-version, 17, -F, C:\Users\IVANTR~1\AppData\Local\Temp\APKTOOL3172779546996359503.tmp, -I, C:\Users\Ivan Trueba\apktool\framework\1.apk, -I, C:\Users\Ivan Trueba\apktool\framework\2.apk, -S, C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk\res, -M, C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:335)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:333)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\IVANTR~1\AppData\Local\Temp\APKTOOL3172779546996359503.tmp, -I, C:\Users\Ivan Trueba\apktool\framework\1.apk, -I, C:\Users\Ivan Trueba\apktool\framework\2.apk, -S, C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk\res, -M, C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:333)
... 6 more
-----------------------------------------------------------------
Thu 07/18/2013
11:32:55.30
Decompiling.. "C:\GUI APK Tool\MusicPlayerWT.apk"
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Ivan Trueba\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Loading resource table from file: C:\Users\Ivan Trueba\apktool\framework\2.apk
I: Loaded.
W: Cant find 9patch chunk in file: "drawable-nodpi/music_list_bg.9.png". Renaming it to *.png.
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
Click to expand...
Click to collapse
How did you pull this off!?
C:\Users\Ivan Trueba\APK GUI\InProgress\MusicPlayerWT.apk\res/drawable-xxhdpi
Click to expand...
Click to collapse
Notice the bolded character? That's your issue.
What are your computer specs? Platform? .net framework version?
Shouldn't be generating directories like that.
Sent from my SGH-M919 using Tapatalk 2
elesbb said:
How did you pull this off!?
Notice the bolded character? That's your issue.
What are your computer specs? Platform? .net framework version?
Shouldn't be generating directories like that.
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
No Idea. I installed everything to my C: drive instead of program files. dont think that matters though.
Windows 7, 4.5 framework version.
screenshot right before i decompile
http://i43.tinypic.com/2wf4cx1.jpg
The Illest 619 said:
No Idea. I installed everything to my C: drive instead of program files. dont think that matters though.
Windows 7, 4.5 framework version.
screenshot right before i decompile
http://i43.tinypic.com/2wf4cx1.jpg
Click to expand...
Click to collapse
Put it in program files. Not sure but that might be the issue. It can't create the files necessary because c drive needs administration rights to be able to write to it. Try running as admin and tell me what happens
Sent from my SGH-M919 using Tapatalk 2
elesbb said:
Put it in program files. Not sure but that might be the issue. It can't create the files necessary because c drive needs administration rights to be able to write to it. Try running as admin and tell me what happens
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
so upon further inspection the directories it lists do exist... the files arent written on the c: drive so that wasnt the issue.
https://www.dropbox.com/s/z4veh73u8lgapav/Untitled-2.jpg
theres a pic of the directories open with the folders and latest recompile errors. im about ready to delete everything apktool related and start with something new.
The Illest 619 said:
so upon further inspection the directories it lists do exist... the files arent written on the c: drive so that wasnt the issue.
https://www.dropbox.com/s/z4veh73u8lgapav/Untitled-2.jpg
theres a pic of the directories open with the folders and latest recompile errors. im about ready to delete everything apktool related and start with something new.
Click to expand...
Click to collapse
the directories may exist, but it uses the installed location folder for the tools required. What ROM is this from? I get an error totally different from yours which means i am creating the directories properly. But it seems it is missing some framework files.
elesbb said:
the directories may exist, but it uses the installed location folder for the tools required. What ROM is this from? I get an error totally different from yours which means i am creating the directories properly. But it seems it is missing some framework files.
Click to expand...
Click to collapse
I also tried installing apktools to program files, desktop, and under user but no go. Im on wicked v4, here are my fw files.
https://www.dropbox.com/sh/c4rqo2o2xy4fc4g/1FJae8Fb1H
The Illest 619 said:
I also tried installing apktools to program files, desktop, and under user but no go. Im on wicked v4, here are my fw files.
https://www.dropbox.com/sh/c4rqo2o2xy4fc4g/1FJae8Fb1H
Click to expand...
Click to collapse
Install these files using the "Install proprietary framework" checkbox and you will get different errors but everything is working as should. You will have to use your smali/decompile/recompile skills to figure out the issue you have now I will let you have at it for a day or so as i have been busy lately but if you cannot figure it out i will try and find time to help.