apk manager error - Optimus One, P500, V General

hi everybody, i have cooked a rom with 20g gingerbread version.
now i'm trying to create powermenu but when i try to compile franework-res.apk with apk manager 4.9 i have an error
this is the log
Code:
--------------------------------------------------------------------------
|27/06/2011 -- 14:22:24,81|
--------------------------------------------------------------------------
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'lockscreen_network_locked_message' has no default translation in C:\Users\Cristiano\Desktop\ROMCooking\APKManager\other\..\projects\unsignedframework-res.apk\res; found: pt_PT
C:\Users\Cristiano\Desktop\ROMCooking\APKManager\other\..\projects\unsignedframework-res.apk\res\values\public.xml:3442: error: Public resource drawable/reboot has conflicting type codes for its public identifiers (0x8 vs 0x7).
C:\Users\Cristiano\Desktop\ROMCooking\APKManager\other\..\projects\unsignedframework-res.apk\res\values\public.xml:3443: error: Public resource drawable/recovery has conflicting type codes for its public identifiers (0x8 vs 0x7).
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\CRISTI~1\AppData\Local\Temp\APKTOOL7528536305467767297.tmp, -x, -S, C:\Users\Cristiano\Desktop\ROMCooking\APKManager\other\..\projects\unsignedframework-res.apk\res, -M, C:\Users\Cristiano\Desktop\ROMCooking\APKManager\other\..\projects\unsignedframework-res.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\CRISTI~1\AppData\Local\Temp\APKTOOL7528536305467767297.tmp, -x, -S, C:\Users\Cristiano\Desktop\ROMCooking\APKManager\other\..\projects\unsignedframework-res.apk\res, -M, C:\Users\Cristiano\Desktop\ROMCooking\APKManager\other\..\projects\unsignedframework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
Impossibile trovare il file specificato.
i'm italian then something is in the italian language
sorry for my bad english

Are you doing it for learning purposes? B/c otherwise, a working powermenu already exists if you based on v20g - so just grab it and do more cooking if you need
http://forum.xda-developers.com/showthread.php?t=1140862

yes but i want create powermenu without another powermenu
i want learn how to create powermenu but i have the apk manager's error and i don't know what is it
can someone help me?

Ah OK. Wait for someone else then; I cannot stand Java.

Are you using it with Linux?

Use java 32 bit.
Sent from my LG-P500 using XDA Premium App

ciaox said:
Are you using it with Linux?
Click to expand...
Click to collapse
Erm...
Code:
C:\Users\Cristiano\Desktop\ROMCooking\APKManager\
Hopefully Linux is still sane and does not use such paths

doktornotor said:
Erm...
Code:
C:\Users\Cristiano\Desktop\ROMCooking\APKManager\
Hopefully Linux is still sane and does not use such paths
Click to expand...
Click to collapse
D: didn't read all

i have java 32 and 64 bit

Cricco said:
i have java 32 and 64 bit
Click to expand...
Click to collapse
Yeah, would suggest to uninstall the 64bit version and try again.
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
Click to expand...
Click to collapse

i have another time this error
--------------------------------------------------------------------------
|28/06/2011 -- 10:25:16,80|
--------------------------------------------------------------------------
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Cristiano\Desktop\ROMCooking\APKManager\other\..\projects\framework-res.apk\res\values\public.xml:3442: error: Public resource drawable/reboot has conflicting type codes for its public identifiers (0x8 vs 0x7).
C:\Users\Cristiano\Desktop\ROMCooking\APKManager\other\..\projects\framework-res.apk\res\values\public.xml:3443: error: Public resource drawable/recovery has conflicting type codes for its public identifiers (0x8 vs 0x7).
aapt: warning: string 'lockscreen_network_locked_message' has no default translation in C:\Users\Cristiano\Desktop\ROMCooking\APKManager\other\..\projects\framework-res.apk\res; found: pt_PT
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\CRISTI~1\AppData\Local\Temp\APKTOOL2822792884648148723.tmp, -x, -S, C:\Users\Cristiano\Desktop\ROMCooking\APKManager\other\..\projects\framework-res.apk\res, -M, C:\Users\Cristiano\Desktop\ROMCooking\APKManager\other\..\projects\framework-res.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\CRISTI~1\AppData\Local\Temp\APKTOOL2822792884648148723.tmp, -x, -S, C:\Users\Cristiano\Desktop\ROMCooking\APKManager\other\..\projects\framework-res.apk\res, -M, C:\Users\Cristiano\Desktop\ROMCooking\APKManager\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
Click to expand...
Click to collapse

Cricco said:
i have another time this error
Click to expand...
Click to collapse
Why don't you just pick existing powermenu?

because the original power menu has the circular battery but i want to have another battery.
so i had try to upload framework-res.apk and system-ui.apk into uot kitchen and i edit the battery.
so i replace the framework and systemui into my rom and i had add the android.policy which where into powermenu but it doesn't work.
the smartphone is stop at bootanimation

Cricco said:
because the original power menu has the circular battery but i want to have another battery.
so i had try to upload framework-res.apk and system-ui.apk into uot kitchen and i edit the battery.
so i replace the framework and systemui into my rom and i had add the android.policy which where into powermenu but it doesn't work.
the smartphone is stop at bootanimation
Click to expand...
Click to collapse
Yeah, i tried to mix paolo' s v20g with the powermenu zip in the kitchen but the phone gets a bootloop it only worked if you flashed them individually, really dunno why

i have the same error type , like the one in the first post . Thing is that when i first installed apkmanager it worked just fine and after 3 or 4 hours i can't compile apk files. Some apk files cause the apkmanager to crash... when i hit decompile... anyone has an ideea???
Here is the log
Code:
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode, sharing)
'platform-tools\adb' is not recognized as an internal or external command,
operable program or batch file.
Could Not Find C:\Users\Gabriyel\Desktop\ApkManager\place-apk-here-for-modding\../place-apk-here-for-modding/signedICS-7.apk
Could Not Find C:\Users\Gabriyel\Desktop\ApkManager\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedICS-7.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Gabriyel\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.BrutException: could not exec command: [aapt, p, -F, C:\Users\Gabriyel\AppData\Local\Temp\APKTOOL1249146696830683230.tmp, -x, -I, C:\Users\Gabriyel\apktool\framework\1.apk, -S, C:\Users\Gabriyel\Desktop\ApkManager\platform-tools\..\projects\ICS-7.apk\res, -M, C:\Users\Gabriyel\Desktop\ApkManager\platform-tools\..\projects\ICS-7.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\Gabriyel\AppData\Local\Temp\APKTOOL1249146696830683230.tmp, -x, -I, C:\Users\Gabriyel\apktool\framework\1.apk, -S, C:\Users\Gabriyel\Desktop\ApkManager\platform-tools\..\projects\ICS-7.apk\res, -M, C:\Users\Gabriyel\Desktop\ApkManager\platform-tools\..\projects\ICS-7.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

Related

How can i recompile framework-res.apk

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

[Q] edit phone.apk have a error.

I want edit x10(2.1) phone.APK for my x8
i know used apktook ,first must be do this "apktool if framework-res.apk"(from x10 rom)
so I use apktool to decompilation this apk is ok,
but when i used apktool to compilation to apk,then have a error
look!
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
E:\APK dug\\Phonebook.apk\res\values\styles.xml:58:
error: Error retrieving parent for item: No resource found that matches the given
name 'Layout'.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExcep
tion: could not exec command: [aapt, p, -F, C:\Windows\TEMP\APKTOOL46209618546809
4589.tmp, -I, D:\apktool\framework\1.apk, -I, D:\apktool\framew
ork\2.apk, -S, E:\APK dug\\Phonebook.apk\res, -M, E:
\APK dug\\Phonebook.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:\Wi
ndows\TEMP\APKTOOL462096185468094589.tmp, -I, D:\apktool\framework\1.apk
, -I, D:\apktool\framework\2.apk, -S, E:\APK dug\\Phonebook.
apk\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
Click to expand...
Click to collapse
everybody, can you help me? sorry my bad english (chinese english,hh.......)
on
body?

[HELP]Changing Icons

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

Compiling Erroe

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

Compiling Error

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

Categories

Resources