i am having some problem recompiling the new build 0.587 SystemUI
I get this message
C:\Apktool>apktool b SystemUI fin.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\Apktool\SystemUI\res\values\styles.xml:3: error: Error retrieving parent for
item: No resource found that matches the given name '@android:style/TextAppearan
ce.StatusBar'.
C:\Apktool\SystemUI\res\values\styles.xml:8: error: Error retrieving parent for
item: No resource found that matches the given name '@android:style/TextAppearan
ce.StatusBar'.
C:\Apktool\SystemUI\res\values\styles.xml:9: error: Error retrieving parent for
item: No resource found that matches the given name '@android:style/TextAppearan
ce.StatusBar'.
C:\Apktool\SystemUI\res\values\styles.xml:14: error: Error retrieving parent for
item: No resource found that matches the given name '@android:style/TextAppeara
nce.StatusBar'.
C:\Apktool\SystemUI\res\values\styles.xml:46: error: Error retrieving parent for
item: No resource found that matches the given name '@android:style/TextAppeara
nce.StatusBar.Ticker'.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\NOIM\AppData\Local\Temp\AP
KTOOL3986682972765043768.tmp, -I, C:\Users\NOIM\apktool\framework\1.apk, -S, C:\
Apktool\SystemUI\res, -M, C:\Apktool\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:251)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:325)
at brut.androlib.Androlib.buildResources(Androlib.java:270)
at brut.androlib.Androlib.build(Androlib.java:193)
at brut.androlib.Androlib.build(Androlib.java:175)
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:\U
sers\NOIM\AppData\Local\Temp\APKTOOL3986682972765043768.tmp, -I, C:\Users\NOIM\a
pktool\framework\1.apk, -S, C:\Apktool\SystemUI\res, -M, C:\Apktool\SystemUI\And
roidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:249)
... 6 more
Click to expand...
Click to collapse
CAn anyone find whats Wrong ???
Have you installed the relevant files first? http://forum.xda-developers.com/showthread.php?t=1759573
SystemUI has different recompile.. I was looking for a solution for 20 days but noone helped.. anyway here is %100 solution of myself for recompiling SystemUI.apk
>> use wanam's ICS apk manager. it works with GB too..
>> Before decompile .apk , right click and ' open archive ' with 7-zip. Drag & drop classes.dex file to a folder or desktop, and delete inside the .apk..
Decompile it, do what you want and recompile.. After all is ok, open unsigned apk with 7-zip and drag&drop classes.dex back.
Cheers..
Opss, ıf U still have recompile problem, try using latest 'aapt' file. ,)
thanks for the reply ...i will give each method a try ...
Related
Looking for mod to change battery icon in status bar to circle with percents
ROM: Virtuous 3.2.0 and Incredible Revolution theme
Can anyone point me to thread?
Thanks
http://forum.xda-developers.com/showthread.php?t=990829
got error on kitchen rebuild?
I adb pulled framework-res.apk from phone and uploaded as directed.
What did I wrong?
Code:
Decompiling framework-res.apk UOT-06-30-01-53-2
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Compiling framework-res.apk UOT-06-30-01-53-2
W: Could not find sources
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL1643516675712976659.tmp, -x, -S, /home/uot/port5/data/working_dir/UOT-06-30-01-53-2/fw_dec/res, -M, /home/uot/port5/data/working_dir/UOT-06-30-01-53-2/fw_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/APKTOOL1643516675712976659.tmp, -x, -S, /home/uot/port5/data/working_dir/UOT-06-30-01-53-2/fw_dec/res, -M, /home/uot/port5/data/working_dir/UOT-06-30-01-53-2/fw_dec/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
/home/uot/port5/data/working_dir/UOT-06-30-01-53-2/fw_dec/res/layout-hdpi/screen_progress.xml:9: error: Error: String types not allowed (at 'foregroundGravity' with value 'fill_horizontal|top|center').
/home/uot/port5/data/working_dir/UOT-06-30-01-53-2/fw_dec/res/layout-hdpi/screen_title_icons.xml:13: error: Error: String types not allowed (at 'foregroundGravity' with value 'fill_horizontal|top|center').
I am having trouble compiling Home.apk on stock .42 firmware using apkmanager. It decompiles ok but when i try to compile after making a few small changes i get an error and the new Home.apk appears to be incomplete i.e 600kb instead of 800kb. When i place the new apk in the correct folder with correct permissions it doesnt work.
Any suggestions appriciated. Cheers
Sent from my ST18i using XDA App
if you try just decompile and compile it
what happenned?
jimbobcox said:
I am having trouble compiling Home.apk on stock .42 firmware using apkmanager. It decompiles ok but when i try to compile after making a few small changes i get an error and the new Home.apk appears to be incomplete i.e 600kb instead of 800kb. When i place the new apk in the correct folder with correct permissions it doesnt work.
Any suggestions appriciated. Cheers
Sent from my ST18i using XDA App
Click to expand...
Click to collapse
Please post the log from your compiler.
pvy.
Will do when i get back on my laptop.
I will attemp decompile and compile without changes also.
Sent from my ST18i using XDA App
I have just decompiled the apk, i didn't make any changes and tried recompiling i got an error. Log as follows
---
|13/01/2012 -- 16:52:37.88|
--------------------------------------------------------------------------
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) 64-Bit Server VM (build 22.0-b10, mixed mode)
Could Not Find C:\Android\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/signedHome.apk
Could Not Find C:\Android\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedHome.apk
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\JimBob\apktool\framework\1.apk
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\Android\apk_manager_4.9\other\..\projects\Home.apk\res\values\styles.xml:16: error: Error retrieving parent for item: No resource found that matches the given name 'Layout'.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\JimBob\AppData\Local\Temp\APKTOOL5814441021199410965.tmp, -I, C:\Users\JimBob\apktool\framework\1.apk, -S, C:\Android\apk_manager_4.9\other\..\projects\Home.apk\res, -M, C:\Android\apk_manager_4.9\other\..\projects\Home.apk\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, C:\Users\JimBob\AppData\Local\Temp\APKTOOL5814441021199410965.tmp, -I, C:\Users\JimBob\apktool\framework\1.apk, -S, C:\Android\apk_manager_4.9\other\..\projects\Home.apk\res, -M, C:\Android\apk_manager_4.9\other\..\projects\Home.apk\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
The system cannot find the file specified.
Thanks in advance for any help!
SOLVED!
found solution here
http://forum.xda-developers.com/showthread.php?t=1276332
Sent from my ST18i using XDA App
I was making some color changes in my systemui.apk but it will not compile now. Im getting this error.
C:\Users\Sean\Desktop\Android Modding\APK's>apktool b systemui
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\Users\Sean\Desktop\Android Modding\APK's\sys
temui\res/drawable-sw600dp-xhdpi
invalid resource directory name: C:\Users\Sean\Desktop\Android Modding\APK's\sys
temui\res/layout-sw600dp
invalid resource directory name: C:\Users\Sean\Desktop\Android Modding\APK's\sys
temui\res/values-sw600dp
invalid resource directory name: C:\Users\Sean\Desktop\Android Modding\APK's\sys
temui\res/values-sw600dp-port
invalid resource directory name: C:\Users\Sean\Desktop\Android Modding\APK's\sys
temui\res/values-sw720dp
invalid resource directory name: C:\Users\Sean\Desktop\Android Modding\APK's\sys
temui\res/values-sw720dp-port
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Sean\AppData\Local\Temp\AP
KTOOL7307828911707401960.tmp, -I, C:\Users\Sean\apktool\framework\1.apk, -S, C:\
Users\Sean\Desktop\Android Modding\APK's\systemui\res, -M, C:\Users\Sean\Desktop
\Android Modding\APK's\systemui\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a: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:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Sean\AppData\Local\Temp\APKTOOL7307828911707401960.tmp, -I, C:\Users\Sean\a
pktool\framework\1.apk, -S, C:\Users\Sean\Desktop\Android Modding\APK's\systemui
\res, -M, C:\Users\Sean\Desktop\Android Modding\APK's\systemui\AndroidManifest.x
ml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
C:\Users\Sean\Desktop\Android Modding\APK's>
bump
/10char
The clue is in the error:
invalid resource directory name: C:\Users\Sean\Desktop\Android Modding\APK's\sys
temui\res/drawable-sw600dp-xhdpi
Whats wrong with the bolded area?
the slash is the wrong way? why would it do that?
apktool incorrectly decompiled it. You need to remove those wrong slahes in the xml.
well ****, that seems like a lot of work
Nothing ctrl F won't fix. Or a grep.
Or just use the xml you modified and keep the old stuff.
now when u say to just use the xml i modded...how? do i just copy it to the apk im trying to flash? I thought it had to be recompiled? or can i recompile an individual xml. Im new to this whole themeing thing
Hi everyone
I wanna start modding and i have decompiled a systemUI.apk from ice cold sandwich rom and I have replaced some png and xml files and every thing is done but i dont know how to compile it into an APK file to use it in rom
Can enyone help me?
by the way i have also changed the framework-res.apk but again i cant compile it
Galliture said:
Hi everyone
I wanna start modding and i have decompiled a systemUI.apk from ice cold sandwich rom and I have replaced some png and xml files and every thing is done but i dont know how to compile it into an APK file to use it in rom
Can enyone help me?
by the way i have also changed the framework-res.apk but again i cant compile it
Click to expand...
Click to collapse
What do you mean by can't compile. What error are you getting we need more detail!
Sent from my Desire HD using XDA
scaryshark said:
What do you mean by can't compile. What error are you getting we need more detail!
Sent from my Desire HD using XDA
Click to expand...
Click to collapse
When i wanna compile both files it tells me that i didnt pulled the framework-res
I have replaced some files from systemui and framework from primo s rom to ice cold sandwich but i just replaced the png files and some small xml files from layout folder and i didnt add any thing ...
sorry for my bad english
Galliture said:
When i wanna compile both files it tells me that i didnt pulled the framework-res
I have replaced some files from systemui and framework from primo s rom to ice cold sandwich but i just replaced the png files and some small xml files from layout folder and i didnt add any thing ...
sorry for my bad english
Click to expand...
Click to collapse
Now were getting somewhere, but could you be more cleat.
What is the exact error, what are you using to compile/decompile have you installed the framework files?. Without being clear nobody has any idea how to help!
Sent from my Desire HD using XDA
OK these are the exact things i do:
In apktool I installed the ice cold sandwich framework and I decompiled the SystemUI and framework to make some changes
and when I wanna compile the framework-res folder i get this error:
D:\Mohammad\Android\AndroidTools\apktool>apktool if ics\framework-res.apk
I: Framework installed to: C:\Documents and Settings\Galliture\apktool\framework\1.apk
D:\Mohammad\Android\AndroidTools\apktool>apktool b icesense\framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/values-sw600dp-w1280d
p
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/values-w500dp
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/values-sw600dp-land
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/values-sw600dp-w1024d
p
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/values-w600dp
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/values-w360dp
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/values-h720dp
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/values-w480dp
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/values-w720dp
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/values-sw600dp
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/layout-w600dp
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/drawable-sw600dp-hdpi
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/layout-sw600dp
(skipping index file 'D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res\drawable-hdpi\Thumbs.db')
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -
F, C:\DOCUME~1\GALLIT~1\LOCALS~1\Temp\APKTOOL2548111907806272492.tmp, -x, -S, D:\Mohammad\Android\AndroidTools\apktool\ice
sense\framework-res\res, -M, D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\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:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\GALLIT~1\LOCALS~1\Temp\APKTOOL2548
111907806272492.tmp, -x, -S, D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res, -M, D:\Mohammad\Android\
AndroidTools\apktool\icesense\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
what should I do?
Galliture said:
OK these are the exact things i do:
In apktool I installed the ice cold sandwich framework and I decompiled the SystemUI and framework to make some changes
and when I wanna compile the framework-res folder i get this error:
D:\Mohammad\Android\AndroidTools\apktool>apktool if ics\framework-res.apk
I: Framework installed to: C:\Documents and Settings\Galliture\apktool\framework\1.apk
D:\Mohammad\Android\AndroidTools\apktool>apktool b icesense\framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/values-sw600dp-w1280d
p
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/values-w500dp
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/values-sw600dp-land
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/values-sw600dp-w1024d
p
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/values-w600dp
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/values-w360dp
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/values-h720dp
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/values-w480dp
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/values-w720dp
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/values-sw600dp
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/layout-w600dp
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/drawable-sw600dp-hdpi
invalid resource directory name: D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res/layout-sw600dp
(skipping index file 'D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res\drawable-hdpi\Thumbs.db')
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -
F, C:\DOCUME~1\GALLIT~1\LOCALS~1\Temp\APKTOOL2548111907806272492.tmp, -x, -S, D:\Mohammad\Android\AndroidTools\apktool\ice
sense\framework-res\res, -M, D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\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:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\GALLIT~1\LOCALS~1\Temp\APKTOOL2548
111907806272492.tmp, -x, -S, D:\Mohammad\Android\AndroidTools\apktool\icesense\framework-res\res, -M, D:\Mohammad\Android\
AndroidTools\apktool\icesense\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
what should I do?
Click to expand...
Click to collapse
If your using primo in there make sure to use com.htc.resources.apk and framework-red.apk as the framework files, that seems to be the problem.
Sent from my Desire HD using XDA
b4 you decomp your files, u need 2 do:
apktool if framework-res.apk
Then u kan decomp, chang things nd compile
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.