brutall/brut.apktool — Issue #17: Can't compile any apk
Author: garf02
Created: 2012-01-31 14:40:49+00:00
State: open

Apk Multi-Tools 1.0.2 isnstalled on root folder of Android SDK. My system is Gingerbread 2.3.6
any apk as a result of this error

Error log:
--------------------------------------------------------------------------
|31/01/2012 -- 15:35:27,03|
--------------------------------------------------------------------------
--2012-01-31 15:35:27-- 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,47M=0s

2012-01-31 15:35:27 (1,47 MB/s) - `apkver.txt' saved [152/152]

Sottodirectory o file projects gi… esistente.
Sottodirectory o file place-apk-here-for-modding gi… esistente.
Sottodirectory o file place-ogg-here gi… esistente.
Sottodirectory o file place-apk-here-to-batch-optimize gi… esistente.
Sottodirectory o file place-apk-here-for-signing gi… esistente.
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) Client VM (build 22.0-b10, mixed mode, sharing)
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\garf02\AppData\Local\Temp\APKTOOL2281681947679875093.tmp, -I, C:\Users\garf02\apktool\framework\1.apk, -I, C:\Users\garf02\apktool\framework\2.apk, -S, J:\android-sdk\projects\Browser.apk\res, -M, J:\android-sdk\projects\Browser.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\garf02\AppData\Local\Temp\APKTOOL2281681947679875093.tmp, -I, C:\Users\garf02\apktool\framework\1.apk, -I, C:\Users\garf02\apktool\framework\2.apk, -S, J:\android-sdk\projects\Browser.apk\res, -M, J:\android-sdk\projects\Browser.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, Impossibile trovare il file specificato
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, Impossibile trovare il file specificato
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more