Guys! Can someone teach me how to change every icons in a stock rom. Including notification icons, system apps icons, and every other icons. Thanks!
Extract every app. Go to the drawable - mdpi folder. Search for the icon that appears in the app drawer (the name may differ on an app to app basis). Replace that icon.
Same for notification and other icons. They are present in systemui.apk, framework-res.apk, twframework.apk.
This is the simple way. But may give errors sometimes.
You can also decompile each apk to reduce some errors.
Do not replace .9.png files directly.
There's a tut by music.soul for that.
TeamCooper Developer
TheMyth Developer
shaaan said:
Extract every app. Go to the drawable - mdpi folder. Search for the icon that appears in the app drawer (the name may differ on an app to app basis). Replace that icon.
Same for notification and other icons. They are present in systemui.apk, framework-res.apk, twframework.apk.
This is the simple way. But may give errors sometimes.
You can also decompile each apk to reduce some errors.
Do not replace .9.png files directly.
There's a tut by music.soul for that.
TeamCooper Developer
TheMyth Developer
Click to expand...
Click to collapse
Thanks for that!
How do I extract those apps? Can I have the link for the tutorial of music.soul?
Huh..i just told you by pm?
Thanks Prawsome! I already extracted the rom and the apk. Can I just simply drag and drop and replace the png there? How do I compile this to flash in my phone?
kevin03 said:
Thanks Prawsome! I already extracted the rom and the apk. Can I just simply drag and drop and replace the png there? How do I compile this to flash in my phone?
Click to expand...
Click to collapse
You can just drag and drop ...
Its much simpler.
TeamCooper Developer
TheMyth Developer
shaaan said:
You can just drag and drop ...
Its much simpler.
TeamCooper Developer
TheMyth Developer
Click to expand...
Click to collapse
Ya,i already told that via PM
Thanks guys! I'll try theming first before I step up in creating roms.
Sent from my GT-S5830 using xda premium
I also like to know how to edit those
.9 png
Sent from my GT-S5830 using xda premium
kevin03 said:
I also like to know how to edit those
.9 png
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Refer music.soul's tutorial,and see shen's tutorial in xdatv
What do I need to do here? How do I compile using apk multi tool?
Make sure you have adb from Android's SDK Tools
Ace-ing all tests.
EmoBoiix3 said:
Make sure you have adb from Android's SDK Tools
Ace-ing all tests.
Click to expand...
Click to collapse
Where can I get that? I have Android SDK installed.
Haha I always decompile and compile using root explorer, much quicker
Sent from my GT-S5830 using xda premium
kevin03 said:
Where can I get that? I have Android SDK installed.
Click to expand...
Click to collapse
Make sure ADB is set in your environment path
EmoBoiix3 said:
Make sure ADB is set in your environment path
Click to expand...
Click to collapse
Lol emo he is a newbie ..
Be more specific ...!!
You need to install Android sdk at the root of your main drive.
What i mean is if your windows is installed in c: drive, you need to install the sdk in c: too
TeamCooper Developer
TheMyth Developer
shaaan said:
Lol emo he is a newbie ..
Be more specific ...!!
You need to install Android sdk at the root of your main drive.
What i mean is if your windows is installed in c: drive, you need to install the sdk in c: too
TeamCooper Developer
TheMyth Developer
Click to expand...
Click to collapse
Oops :x
Ace-ing all tests.
Help. I got this error(s) while compiling.
Code:
--------------------------------------------------------------------------
|Bier 04/20/2012 -- 16:28:32.44|
--------------------------------------------------------------------------
--2012-04-20 16:28:32-- [url]http://update.apkmultitool.com/apkver.txt[/url]
Resolving update.apkmultitool.com (update.apkmultitool.com)... 199.59.62.20
Connecting to update.apkmultitool.com (update.apkmultitool.com)|199.59.62.20|:80
... connected.
HTTP request sent, awaiting response... 200 OK
Length: 152 [text/plain]
Saving to: `apkver.txt'
0K 100% 2.69M=0s
2012-04-20 16:28:36 (2.69 MB/s) - `apkver.txt' saved [152/152]
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)
'""platform-tools"\adb.exe"' is not recognized as an internal or external comman
d,
operable program or batch file.
--------------------------------------------------------------------------
|Bier 04/20/2012 -- 16:29:32.33|
--------------------------------------------------------------------------
--2012-04-20 16:29:32-- [url]http://update.apkmultitool.com/apkver.txt[/url]
Resolving update.apkmultitool.com (update.apkmultitool.com)... 199.59.62.20
Connecting to update.apkmultitool.com (update.apkmultitool.com)|199.59.62.20|:80
... connected.
HTTP request sent, awaiting response... 200 OK
Length: 152 [text/plain]
Saving to: `apkver.txt'
0K 100% 2.15M=0s
2012-04-20 16:29:32 (2.15 MB/s) - `apkver.txt' saved [152/152]
A subdirectory or file projects already exists.
A subdirectory or file place-apk-here-for-modding already exists.
A subdirectory or file place-ogg-here already exists.
A subdirectory or file place-apk-here-to-batch-optimize already exists.
A subdirectory or file place-apk-here-for-signing already exists.
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)
'""platform-tools"\adb.exe"' is not recognized as an internal or external comman
d,
operable program or batch file.
The system cannot find the path specified.
The system cannot find the path specified.
I: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Loading resource table from file: C:\Users\KBJM\apktool\framework\1.apk
I: Loaded.
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...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\KBJM\AppData\Local\Temp\AP
KTOOL5321257451601952888.tmp, -I, C:\Users\KBJM\apktool\framework\1.apk, -S, C:\
Android\android-sdk\projects\Phone.apk\res, -M, C:\Android\android-sdk\projects\
Phone.apk\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\KBJM\AppData\Local\Temp\APKTOOL5321257451601952888.tmp, -I, C:\Users\KBJM\a
pktool\framework\1.apk, -S, C:\Android\android-sdk\projects\Phone.apk\res, -M, C
:\Android\android-sdk\projects\Phone.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2
, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\KBJM\AppData\Local\Temp\AP
KTOOL3323233914729102421.tmp, -I, C:\Users\KBJM\apktool\framework\1.apk, -S, C:\
Android\android-sdk\projects\Phone.apk\res, -M, C:\Android\android-sdk\projects\
Phone.apk\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\KBJM\AppData\Local\Temp\APKTOOL3323233914729102421.tmp, -I, C:\Users\KBJM\a
pktool\framework\1.apk, -S, C:\Android\android-sdk\projects\Phone.apk\res, -M, C
:\Android\android-sdk\projects\Phone.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2
, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\KBJM\AppData\Local\Temp\AP
KTOOL511263930702225055.tmp, -I, C:\Users\KBJM\apktool\framework\1.apk, -S, C:\A
ndroid\android-sdk\projects\Phone.apk\res, -M, C:\Android\android-sdk\projects\P
hone.apk\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\KBJM\AppData\Local\Temp\APKTOOL511263930702225055.tmp, -I, C:\Users\KBJM\ap
ktool\framework\1.apk, -S, C:\Android\android-sdk\projects\Phone.apk\res, -M, C:
\Android\android-sdk\projects\Phone.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2
, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
--------------------------------------------------------------------------
|Bier 04/20/2012 -- 18:18:01.09|
--------------------------------------------------------------------------
--2012-04-20 18:18:01-- [url]http://update.apkmultitool.com/apkver.txt[/url]
Resolving update.apkmultitool.com (update.apkmultitool.com)... 199.59.62.20
Connecting to update.apkmultitool.com (update.apkmultitool.com)|199.59.62.20|:80
... connected.
HTTP request sent, awaiting response... 200 OK
Length: 152 [text/plain]
Saving to: `apkver.txt'
0K 100% 2.80M=0s
2012-04-20 18:18:03 (2.80 MB/s) - `apkver.txt' saved [152/152]
A subdirectory or file projects already exists.
A subdirectory or file place-apk-here-for-modding already exists.
A subdirectory or file place-ogg-here already exists.
A subdirectory or file place-apk-here-to-batch-optimize already exists.
A subdirectory or file place-apk-here-for-signing already exists.
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)
'""platform-tools"\adb.exe"' is not recognized as an internal or external comman
d,
operable program or batch file.
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\KBJM\AppData\Local\Temp\AP
KTOOL990441015776411318.tmp, -I, C:\Users\KBJM\apktool\framework\1.apk, -S, C:\A
ndroid\android-sdk\projects\Phone.apk\res, -M, C:\Android\android-sdk\projects\P
hone.apk\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\KBJM\AppData\Local\Temp\APKTOOL990441015776411318.tmp, -I, C:\Users\KBJM\ap
ktool\framework\1.apk, -S, C:\Android\android-sdk\projects\Phone.apk\res, -M, C:
\Android\android-sdk\projects\Phone.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2
, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
--------------------------------------------------------------------------
|Bier 04/20/2012 -- 19:28:23.79|
--------------------------------------------------------------------------
--2012-04-20 19:28:23-- [url]http://update.apkmultitool.com/apkver.txt[/url]
Resolving update.apkmultitool.com (update.apkmultitool.com)... 199.59.62.20
Connecting to update.apkmultitool.com (update.apkmultitool.com)|199.59.62.20|:80
... connected.
HTTP request sent, awaiting response... 200 OK
Length: 152 [text/plain]
Saving to: `apkver.txt'
0K 100% 3.53M=0s
2012-04-20 19:28:25 (3.53 MB/s) - `apkver.txt' saved [152/152]
A subdirectory or file projects already exists.
A subdirectory or file place-apk-here-for-modding already exists.
A subdirectory or file place-ogg-here already exists.
A subdirectory or file place-apk-here-to-batch-optimize already exists.
A subdirectory or file place-apk-here-for-signing already exists.
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)
'""platform-tools"\adb.exe"' is not recognized as an internal or external comman
d,
operable program or batch file.
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\KBJM\AppData\Local\Temp\AP
KTOOL4248781643639054177.tmp, -I, C:\Users\KBJM\apktool\framework\1.apk, -S, C:\
Android\android-sdk\projects\Phone.apk\res, -M, C:\Android\android-sdk\projects\
Phone.apk\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\KBJM\AppData\Local\Temp\APKTOOL4248781643639054177.tmp, -I, C:\Users\KBJM\a
pktool\framework\1.apk, -S, C:\Android\android-sdk\projects\Phone.apk\res, -M, C
:\Android\android-sdk\projects\Phone.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2
, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
Press any key to continue . . .
Need help here guys.
Sent from my GT-S5830 using xda premium
.....
EDIT: wrog thread XD
Related
Hi
First i searched the forum about the problem i am having and non of the solutions worked with me.
I decompiled with apk manager 4.9 and made my changes and then recompiled but got alot of errors then i tried using apktool 1.4.1 and also the same problem happened i decompile without problems but the recompile is the problem.
here is what i get when i try to recompile:
Code:
Decompile:
C:\Users\DooM\Desktop\andvanced menu mode>java -jar apktool.jar d framework-res.
apk
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
-------------------
Compile
C:\Users\DooM\Desktop\andvanced menu mode>java -jar apktool.jar 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.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\DooM\AppData\Local\Temp\AP
KTOOL2069251178817473438.tmp, -x, -S, C:\Users\DooM\Desktop\andvanced menu mode\
framework-res\res, -M, C:\Users\DooM\Desktop\andvanced menu mode\framework-res\A
ndroidManifest.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:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\DooM\AppData\Local\Temp\APKTOOL2069251178817473438.tmp, -x, -S, C:\Users\Do
oM\Desktop\andvanced menu mode\framework-res\res, -M, C:\Users\DooM\Desktop\andv
anced menu mode\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2
, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
Anyone can help?
Try to get rid of the spaces in the path. Move it to a folder directly under the c drive or another drive. It doesn't like spaces in the path really. This fixed a problem i was having.
Still getting the error
try finding aapt for windows that should fix ya
??? any news ???
I think the decompiler is not able to find the path to aapt.
Sent from my LG-P500 using XDA Premium App
wrong post...pls delete
I'm trying to change the icon of this app : https://play.google.com/store/apps/details?id=com.alensw.PicFolder
But when i'm trying to compile it gives me error :
A subdirectory or file projects already exists.
A subdirectory or file place-apk-here-for-modding already exists.
A subdirectory or file place-ogg-here already exists.
A subdirectory or file place-apk-here-to-batch-optimize already exists.
A subdirectory or file place-apk-here-for-signing already exists.
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b20)
Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)
'""platform-tools"\adb.exe"' is not recognized as an internal or external command,
operable program or batch file.
I: Checking whether sources has changed...
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, C:\Users\FaXOoO\AppData\Local\Temp\APKTOOL6959898499944763669.tmp, -I, C:\Users\FaXOoO\apktool\framework\1.apk, -S, D:\NEW\projects\com.alensw.PicFolder_86.apk\res, -M, D:\NEW\projects\com.alensw.PicFolder_86.apk\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:\Users\FaXOoO\AppData\Local\Temp\APKTOOL6959898499944763669.tmp, -I, C:\Users\FaXOoO\apktool\framework\1.apk, -S, D:\NEW\projects\com.alensw.PicFolder_86.apk\res, -M, D:\NEW\projects\com.alensw.PicFolder_86.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
Click to expand...
Click to collapse
Where's ma wrong ??
Can anyone help ??
i am using apk multitool.. it decmpiles properly and then i make a change in strings.xml and then when i try to compile it shows an error.
here is the log -
--------------------------------------------------------------------------
|Thu 05/24/2012 -- 19:39:21.97|
--------------------------------------------------------------------------
--2012-05-24 19:39:22-- http://update.apkmultitool.com/apkver.txt
Resolving update.apkmultitool.com (update.apkmultitool.com)... 199.59.62.20
Connecting to update.apkmultitool.com (update.apkmultitool.com)|199.59.62.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 152 [text/plain]
Saving to: `apkver.txt'
0K 100% 2.02M=0s
2012-05-24 19:39:23 (2.02 MB/s) - `apkver.txt' saved [152/152]
A subdirectory or file projects already exists.
A subdirectory or file place-apk-here-for-modding already exists.
A subdirectory or file place-ogg-here already exists.
A subdirectory or file place-apk-here-to-batch-optimize already exists.
A subdirectory or file place-apk-here-for-signing already exists.
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b22)
Java HotSpot(TM) Client VM (build 23.0-b21, mixed mode, sharing)
'""platform-tools"\adb.exe"' is not recognized as an internal or external command,
operable program or batch file.
W: Could not find sources
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, C:\Users\Atishay\AppData\Local\Temp\APKTOOL6942186052570066327.tmp, -x, -S, E:\apkkk\projects\framework-res.apk\res, -M, E:\apkkk\projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:302)
at brut.androlib.Androlib.buildResources(Androlib.java:249)
at brut.androlib.Androlib.build(Androlib.java:172)
at brut.androlib.Androlib.build(Androlib.java:155)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Atishay\AppData\Local\Temp\APKTOOL6942186052570066327.tmp, -x, -S, E:\apkkk\projects\framework-res.apk\res, -M, E:\apkkk\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
Download the latest java SDK, just google it
Sent from my HTC Explorer using XDA
Harry GT-S5830 said:
Download the latest java SDK, just google it
Sent from my HTC Explorer using XDA
Click to expand...
Click to collapse
I did.
Some other error??
Sent from my GT-S5830 using Tapatalk 2
hey! i am using apkmulti tool.. and it decopmiles without any error.. and then i make a small change in srtings.xml.. and then when i compile it.. it shows a error.. here is the log-
--------------------------------------------------------------------------
|Thu 05/24/2012 -- 23:50:04.78|
--------------------------------------------------------------------------
--2012-05-24 23:50:05-- http://update.apkmultitool.com/apkver.txt
Resolving update.apkmultitool.com (update.apkmultitool.com)... failed: The requested name is valid, but no data of the requested type was found. .
wget: unable to resolve host address `update.apkmultitool.com'
A subdirectory or file projects already exists.
A subdirectory or file place-apk-here-for-modding already exists.
A subdirectory or file place-ogg-here already exists.
A subdirectory or file place-apk-here-to-batch-optimize already exists.
A subdirectory or file place-apk-here-for-signing already exists.
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b22)
Java HotSpot(TM) Client VM (build 23.0-b21, mixed mode, sharing)
'""platform-tools"\adb.exe"' is not recognized as an internal or external command,
operable program or batch file.
W: Could not find sources
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, C:\Users\Atishay\AppData\Local\Temp\APKTOOL7091332561866353306.tmp, -x, -S, E:\apkkk\projects\framework-res.apk\res, -M, E:\apkkk\projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:302)
at brut.androlib.Androlib.buildResources(Androlib.java:249)
at brut.androlib.Androlib.build(Androlib.java:172)
at brut.androlib.Androlib.build(Androlib.java:155)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Atishay\AppData\Local\Temp\APKTOOL7091332561866353306.tmp, -x, -S, E:\apkkk\projects\framework-res.apk\res, -M, E:\apkkk\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
I get this error when trying to recompile:
Code:
F:\apktoolv2>apktool b working/ClockPackage built/ClockPackage
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, D:\Users\Matt\AppData\Local\Temp\APKTOOL6725272433658742721.tmp, -I, D:\Users\Matt\apktool\framework\1.apk, -I, D:\
Users\Matt\apktool\framework\2.apk, -S, F:\apktoolv2\working\ClockPackage\res, -M, F:\apktoolv2\working\ClockPackage\And
roidManifest.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, D:\Users\Matt\AppData\Local\Temp\APKTOOL6725
272433658742721.tmp, -I, D:\Users\Matt\apktool\framework\1.apk, -I, D:\Users\Matt\apktool\framework\2.apk, -S, F:\apktoo
lv2\working\ClockPackage\res, -M, F:\apktoolv2\working\ClockPackage\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2, The system cannot find the file specif
ied
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
I'm using the same tool I've used before to decompile adn recompile and all I've done is change ONE colour value in the values/color.xml
Is there any way to just compile that xml to I can use it with VRT?
What I do when some nasty error pops up while re-compiling.
Open the apk in winRAR, go to folder where you have modified a perticular file (ex: your file), paste it there. Winrar will do everything and no need to sign also.
Well there is no guarantee That this method should work 'always'.
Sent from my GT-I9300
I need to use the XML file in a theme, though. So, does it not need to be compiled first?
Kryten2k35 said:
I need to use the XML file in a theme, though. So, does it not need to be compiled first?
Click to expand...
Click to collapse
Yea, just realised the method I gave doesn't work with xml's.
EDIT: Which tool are you using?? Apktool??
I suggests you use apkmanager. . It'll generate a readable log in the form of an text file.
OK.. never mind. You fixed it yourself.
Sent from my GT-I9300
http://forum.xda-developers.com/showthread.php?t=1558171
The ICS apktool here seems to work.
Rather odd. But it's building now. Hopefully this is it.
DELETED
Ok
I got the file to compile and build.
Now I can't find the values/color.xml file. Is it actually resources.arsc?