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
Problem compiling MIUI v6 System-APKs #806
Comments
Comment #1 originally posted by connor.tumbleson on 2014-11-06T22:31:34.000Z:
|
Comment #2 originally posted by subbershnoote on 2014-11-07T07:37:08.000Z:
|
Comment #3 originally posted by subbershnoote on 2014-11-07T07:38:40.000Z:
|
Comment #4 originally posted by subbershnoote on 2014-11-07T08:00:15.000Z:
|
Comment #5 originally posted by subbershnoote on 2014-11-12T13:26:08.000Z:
|
Closing MIUI bugs. |
Original issue 697 created by subbershnoote on 2014-11-06T09:57:47.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
I expect the compilation to work, but I get following error:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/tmp/brut_util_Jar_5372673428512891488.tmp, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 19, --version-code, 500090, --version-name, MIUI_V6_小米内置版_20141027_b2, -F, /tmp/APKTOOL5113948002093632877.tmp, -0, arsc, -I, /root/apktool/framework/1.apk, -I, /root/apktool/framework/8.apk, -S, /mnt/hgfs/R/test/Email/res, -M, /mnt/hgfs/R/test/Email/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_5372673428512891488.tmp, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 19, --version-code, 500090, --version-name, MIUI_V6_小米内置版_20141027_b2, -F, /tmp/APKTOOL5113948002093632877.tmp, -0, arsc, -I, /root/apktool/framework/1.apk, -I, /root/apktool/framework/8.apk, -S, /mnt/hgfs/R/test/Email/res, -M, /mnt/hgfs/R/test/Email/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_5372673428512891488.tmp, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 19, --version-code, 500090, --version-name, MIUI_V6_小米内置版_20141027_b2, -F, /tmp/APKTOOL5113948002093632877.tmp, -0, arsc, -I, /root/apktool/framework/1.apk, -I, /root/apktool/framework/8.apk, -S, /mnt/hgfs/R/test/Email/res, -M, /mnt/hgfs/R/test/Email/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:481)
... 6 more
Erroc occurs on most System APKs of MIUI v6 for Mi2, but not on all!
What version of the product are you using? On what operating system?
Im using latest apktool.jar, built it myself using git clone yesterday !
Tested on:
Ubuntu 14.04 x64 java version "1.7.0_65"
Ubuntu 14.04 x32 java version "1.7.0_65"
Windows 8.1 x64
Please provide any additional information below.
The text was updated successfully, but these errors were encountered: