apktool error-Please help!! - Droid Incredible Q&A, Help & Troubleshooting

I wanted to edit the settings in the default workspace such as change widgets and app icons. I wanted to do something small like change the size of the Market widget from 2x2 to 4x4. I decompiled and made the change. Then I tried to recompile using thee b(build) command. Here's what I get:
[email protected] ~ $ apktool d Launcher2.apk
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: /home/treken/apktool/framework/1.apk
I: Copying assets and libs...
[email protected] ~ $ apktool b Launcher2
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL2635074741971448593.tmp, -I, /home/treken/apktool/framework/1.apk, -S, /home/treken/Launcher2/res, -M, /home/treken/Launcher2/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL2635074741971448593.tmp, -I, /home/treken/apktool/framework/1.apk, -S, /home/treken/Launcher2/res, -M, /home/treken/Launcher2/AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
Caused by: java.io.IOException: Cannot run program "aapt": java.io.IOException: error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:466)
... 8 more
Caused by: java.io.IOException: java.io.IOException: error=13, Permission denied
at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 10 more
[email protected] ~ $
Someone please help me!!!!!!! :O

It looks like you are on Linux and don't have permissions for the folder. Either modify the permissions or run in terminal as root.

Related

framework-res editing

I am trying to edit framework-res from cyanogenmod . I use apktool 1.2 and I can decompile just fine but trying to rebuild I get all this errors. So it seems that I am missing something apktool if does not do anything.
C:\apktool>apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\apktool\framework-res\res\values\public.xml:956: error: Public symbol id/fill
_parent declared here is not defined.
C:\apktool\framework-res\res\values\public.xml:1285: error: Public entry identif
ier 0x1020235 entry index is larger than available symbols (index 565, total sym
bols 565).
C:\apktool\framework-res\res\values\public.xml:1285: error: Public symbol id/mod
e_normal declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\ADMINI~1\AppData\Local\Tem
p\APKTOOL7608585969988241404.tmp, -x, -0, arsc, -S, C:\apktool\framework-res\res
, -M, C:\apktool\framework-res\AndroidManifest.xml, C:\apktool\framework-res\9pa
tch]
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:\U
sers\ADMINI~1\AppData\Local\Temp\APKTOOL7608585969988241404.tmp, -x, -0, arsc, -
S, C:\apktool\framework-res\res, -M, C:\apktool\framework-res\AndroidManifest.xm
l, C:\apktool\framework-res\9patch]
at brut.util.OS.exec(Unknown Source)
... 7 more
C:\apktool>
It is most likely a coding error. What are you trying to change?
I am not in any way capable of understanding the log you posted but I've edited a fair amount of APKs and only had compiling errors if I screwed up something in an xml or smali file.
If you post an unedited framework-res, the one you edited, and a quick explanation of what you are trying to change I'll take a look
tritron777 said:
I am trying to edit framework-res from cyanogenmod . I use apktool 1.2 and I can decompile just fine but trying to rebuild I get all this errors. So it seems that I am missing something apktool if does not do anything.
C:\apktool>apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\apktool\framework-res\res\values\public.xml:956: error: Public symbol id/fill
_parent declared here is not defined.
C:\apktool\framework-res\res\values\public.xml:1285: error: Public entry identif
ier 0x1020235 entry index is larger than available symbols (index 565, total sym
bols 565).
C:\apktool\framework-res\res\values\public.xml:1285: error: Public symbol id/mod
e_normal declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\ADMINI~1\AppData\Local\Tem
p\APKTOOL7608585969988241404.tmp, -x, -0, arsc, -S, C:\apktool\framework-res\res
, -M, C:\apktool\framework-res\AndroidManifest.xml, C:\apktool\framework-res\9pa
tch]
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:\U
sers\ADMINI~1\AppData\Local\Temp\APKTOOL7608585969988241404.tmp, -x, -0, arsc, -
S, C:\apktool\framework-res\res, -M, C:\apktool\framework-res\AndroidManifest.xm
l, C:\apktool\framework-res\9patch]
at brut.util.OS.exec(Unknown Source)
... 7 more
C:\apktool>
Click to expand...
Click to collapse
I am not saying this is a fix by any means but try this download Total commander and winzip. Now with apk files or zips I can go directly into them thru windows commander make any change I want and back out and it will save or recompile the apk or zip file for me and I can then push it over to the phone.
I have made quite a few changes to rom zip files as in removing apk's I dont want or putting my own apk's onto a rom before I install it on my phone.
I also have taken out png files from apk's and place them in other apk files if I so choose. So I am not sure exactly what you are trying to do but give that setup a whirl... PM if you need any further assistance
Link Total Commander
Are you editing xml files our just changing png's?
Sent from your mom's phone.
First I just tried to see if I can rebuild it. I just downloaded it from rom and decompiled and then Oliver tried to rebuild without making any changes but I got all those errors. Too me it looks like I am missing library to rebuild it

[Q] looking for circle battery status bar mod

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').

[Q] SHFT Error in UOT Kitchen

Hi Everyone,
I keep trying different variations of themes and preferences and I keep getting errors. I've probably gotten about 6 today... am I doing something wrong? Here's the most recent info-
UOT Kitchen file: UOT-09-28-19-34-2
Theme: NTSense.apk (https://www.dropbox.com/s/ijwdk0t2xsti1mo)
Rom: CM7 8/12 (nightly)
Error:
"Decompiling themer.apk UOT-09-28-19-34-2
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: /root/apktool/framework/1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Compiling themer.apk UOT-09-28-19-34-2
W: Could not find sources
I: Building resources...
aapt: /usr/lib/libz.so.1: no version information available (required by aapt)
res/drawable-hdpi/stat_power_background.png:0: error: Resource entry stat_power_background is already defined.
res/drawable-hdpi/stat_power_background.9.png:0: Originally defined here.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL2677946993458652052.tmp, -x, -I, /home/uotftp/apktool/framework/1.apk, -S, /home/uotftp/port5/data/working_dir/UOT-09-28-19-34-2/th_dec/res, -M, /home/uotftp/port5/data/working_dir/UOT-09-28-19-34-2/th_dec/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL2677946993458652052.tmp, -x, -I, /home/uotftp/apktool/framework/1.apk, -S, /home/uotftp/port5/data/working_dir/UOT-09-28-19-34-2/th_dec/res, -M, /home/uotftp/port5/data/working_dir/UOT-09-28-19-34-2/th_dec/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more"
Did you try contacting the kitchen like it says if you get that error? What are you trying to do in the kitchen, what files did you upload?
Sent from my ADR6300 using xda premium

[HELP] Compiling Home.apk on stock .42

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

Compiling apk, espier launcher

Hey guys, I'm trying to decompile, edit, then recompile espier launcher 0.5.2 apk
I decompiled it and edited is successfully, and then when I go to compile, I don't see any output.
Does the compile not create an apk file? I'm confused on where to go after I edit my apk.
I'm using APK manager on OS X lion 64bit if that makes any difference.
Thanks.
(I couldn't find this anywhere on the internet or on xda forums)
not sure if this makes any sense, so for clarification:
I decompile, edit, then compile. Then when i go to sign, it says it cannot find unsigned-Espier_Launcher_0.5.2.apk Please use "zip" or "compile" options first.
Code:
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)
'""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...
I: Loaded.
I: Loading resource table from file: C:\Users\Kunal\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
The system cannot find the path specified.
The system cannot find the path specified.
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Kunal\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
--------------------------------------------------------------------------
|Fri 02/03/2012 -- 20:29:28.56|
--------------------------------------------------------------------------
--2012-02-03 20:29:28-- 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.37M=0s
2012-02-03 20:29:28 (2.37 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.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)
'""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: Smaling...
^C--------------------------------------------------------------------------
|Fri 02/03/2012 -- 20:32:00.26|
--------------------------------------------------------------------------
--2012-02-03 20:32:00-- 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% 1.87M=0s
2012-02-03 20:32:00 (1.87 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.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)
'""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: 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\Kunal\AppData\Local\Temp\A
PKTOOL3022903427758754693.tmp, -I, C:\Users\Kunal\apktool\framework\1.apk, -S, C
:\APK MultiTOol\projects\1Espier_Launcher_0.5.2.apk\res, -M, C:\APK MultiTOol\pr
ojects\1Espier_Launcher_0.5.2.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\Kunal\AppData\Local\Temp\APKTOOL3022903427758754693.tmp, -I, C:\Users\Kunal
\apktool\framework\1.apk, -S, C:\APK MultiTOol\projects\1Espier_Launcher_0.5.2.a
pk\res, -M, C:\APK MultiTOol\projects\1Espier_Launcher_0.5.2.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
--------------------------------------------------------------------------
|Fri 02/03/2012 -- 21:06:51.95|
--------------------------------------------------------------------------
--2012-02-03 21:06:52-- 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.47M=0s
2012-02-03 21:06:52 (2.47 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.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)
'""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...
I: Loaded.
I: Loading resource table from file: C:\Users\Kunal\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
--------------------------------------------------------------------------
|Fri 02/03/2012 -- 21:58:50.81|
--------------------------------------------------------------------------
--2012-02-03 21:58:50-- 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% 1.09M=0s
2012-02-03 21:58:51 (1.09 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.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)
'""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: 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\Kunal\AppData\Local\Temp\A
PKTOOL1970506614237777931.tmp, -I, C:\Users\Kunal\apktool\framework\1.apk, -S, C
:\APK MultiTOol\projects\Espier_Launcher_0.5.2.apk\res, -M, C:\APK MultiTOol\pro
jects\Espier_Launcher_0.5.2.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\Kunal\AppData\Local\Temp\APKTOOL1970506614237777931.tmp, -I, C:\Users\Kunal
\apktool\framework\1.apk, -S, C:\APK MultiTOol\projects\Espier_Launcher_0.5.2.ap
k\res, -M, C:\APK MultiTOol\projects\Espier_Launcher_0.5.2.apk\AndroidManifest.x
ml]
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\Kunal\AppData\Local\Temp\A
PKTOOL7228759727554343253.tmp, -I, C:\Users\Kunal\apktool\framework\1.apk, -S, C
:\APK MultiTOol\projects\Espier_Launcher_0.5.2.apk\res, -M, C:\APK MultiTOol\pro
jects\Espier_Launcher_0.5.2.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\Kunal\AppData\Local\Temp\APKTOOL7228759727554343253.tmp, -I, C:\Users\Kunal
\apktool\framework\1.apk, -S, C:\APK MultiTOol\projects\Espier_Launcher_0.5.2.ap
k\res, -M, C:\APK MultiTOol\projects\Espier_Launcher_0.5.2.apk\AndroidManifest.x
ml]
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\Kunal\AppData\Local\Temp\A
PKTOOL6594612407827724422.tmp, -I, C:\Users\Kunal\apktool\framework\1.apk, -S, C
:\APK MultiTOol\projects\Espier_Launcher_0.5.2.apk\res, -M, C:\APK MultiTOol\pro
jects\Espier_Launcher_0.5.2.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\Kunal\AppData\Local\Temp\APKTOOL6594612407827724422.tmp, -I, C:\Users\Kunal
\apktool\framework\1.apk, -S, C:\APK MultiTOol\projects\Espier_Launcher_0.5.2.ap
k\res, -M, C:\APK MultiTOol\projects\Espier_Launcher_0.5.2.apk\AndroidManifest.x
ml]
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 . . .
this is my error when i try to compile it on my dell xps vista using apk multitool.

Categories

Resources