U
uncle-m
Neues Mitglied
- 0
Hallo,
ich habe mir apktools auf mein Ubuntu 14.04.lts installiert. Habe aber probleme mit dem kompilieren.
Ich weiß leider nicht viel damit anzufangen.
Gruß
ich habe mir apktools auf mein Ubuntu 14.04.lts installiert. Habe aber probleme mit dem kompilieren.
Code:
mario@mario:~$ apktool d SystemUI.apk
I: Using Apktool 2.0.0-RC2 on SystemUI.apk
I: Loading resource table...
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /home/mario/apktool/framework/1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
mario@mario:~$ apktool b SystemUI
I: Using Apktool 2.0.0-RC2 on SystemUI
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/tmp/brut_util_Jar_5394691898287693623.tmp, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 16, --version-code, 16, --version-name, 4.1.2-1358455837, -F, /tmp/APKTOOL6471534235149665357.tmp, -0, arsc, -I, /home/mario/apktool/framework/1.apk, -S, /home/mario/SystemUI/res, -M, /home/mario/SystemUI/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:449)
at brut.androlib.Androlib.buildResources(Androlib.java:383)
at brut.androlib.Androlib.build(Androlib.java:286)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:240)
at brut.apktool.Main.main(Main.java:89)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/tmp/brut_util_Jar_5394691898287693623.tmp, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 16, --version-code, 16, --version-name, 4.1.2-1358455837, -F, /tmp/APKTOOL6471534235149665357.tmp, -0, arsc, -I, /home/mario/apktool/framework/1.apk, -S, /home/mario/SystemUI/res, -M, /home/mario/SystemUI/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:487)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:434)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [/tmp/brut_util_Jar_5394691898287693623.tmp, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 16, --version-code, 16, --version-name, 4.1.2-1358455837, -F, /tmp/APKTOOL6471534235149665357.tmp, -0, arsc, -I, /home/mario/apktool/framework/1.apk, -S, /home/mario/SystemUI/res, -M, /home/mario/SystemUI/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:93)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:481)
... 6 more
Caused by: java.io.IOException: Cannot run program "/tmp/brut_util_Jar_5394691898287693623.tmp": error=2, Datei oder Verzeichnis nicht gefunden
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)
at java.lang.Runtime.exec(Runtime.java:617)
at java.lang.Runtime.exec(Runtime.java:485)
at brut.util.OS.exec(OS.java:84)
... 7 more
Caused by: java.io.IOException: error=2, Datei oder Verzeichnis nicht gefunden
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:186)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
... 10 more
mario@mario:~$
Gruß