-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling Error #20
Comments
If you can't run aapt at command line. Thats your problem. Put aapt in your system32 folder as a little hack to fix this. |
i did that.. still i get this -
--2012-05-25 00:31:10-- http://update.apkmultitool.com/apkver.txt
2012-05-25 00:31:11 (1.92 MB/s) - `apkver.txt' saved [152/152] A subdirectory or file projects already exists. |
Thats a different error, so now its fixed. Your XML has major problems. Fix your XML. Or wait for an apktool update. The errors are telling you whats wrong, so read em and fix em. |
dude! thanks!!..
--2012-05-25 00:51:39-- http://update.apkmultitool.com/apkver.txt
2012-05-25 00:51:40 (1.51 MB/s) - `apkver.txt' saved [152/152] A subdirectory or file projects already exists. |
These are apktool errors. You must fix them manually. Look around the web for tutorials on how to. |
okay.. any suggestion on what should i be looking for? |
it decomiles nicely.. then i make samll change in string.xml in my framework and when i compile it shows an error.
here is the log-
--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.(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
The text was updated successfully, but these errors were encountered: