Skip to content
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

Android Q recompile issue #2045

Closed
Tulsadiver opened this issue Mar 16, 2019 · 4 comments · Fixed by #2066
Closed

Android Q recompile issue #2045

Tulsadiver opened this issue Mar 16, 2019 · 4 comments · Fixed by #2066

Comments

@Tulsadiver
Copy link

Tulsadiver commented Mar 16, 2019

Information

This is more of an FYI as I know this is brand new and not an official firmware yet.

  1. Apktool Version (apktool -version-2.4.0) -
  2. Operating System ( Windows) -
  3. APK From? (Stock) -

Stacktrace/Logcat

I: Using Apktool 2.4.0

Exception in thread "main" java.lang.NumberFormatException: For input string: "Q"
        at java.lang.NumberFormatException.forInputString(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at brut.androlib.res.AndrolibResources.mapSdkShorthandToVersion(AndrolibResources.java:637)
        at brut.androlib.res.AndrolibResources.getMinSdkVersionFromAndroidCodename(AndrolibResources.java:618)
        at brut.androlib.Androlib.build(Androlib.java:290)
        at brut.androlib.Androlib.build(Androlib.java:269)
        at brut.apktool.Main.cmdBuild(Main.java:247)
        at brut.apktool.Main.main(Main.java:79)

Steps to Reproduce

  1. `apktool b SystemUIGoogle

Frameworks

See below

APK

https://www.androidfilehost.com/?fid=1395089523397917544

Questions to ask before submission

  1. Have you tried apktool d, apktool b without changing anything?
    You have to at least fix the one bad .9png file before there is even a chance for this to recompile.
  2. If you are trying to install a modified apk, did you resign it?
    No
  3. Are you using the latest apktool version?
    Yes, and tried others as well
@memphise
Copy link

the same error, may I ask when will apktool support android Q?

@Tulsadiver

This comment has been minimized.

@iBotPeaches
Copy link
Owner

The original error here is quite easy to fix and I'll do that real quick, its just a mapping between "Q" -> 10,000.

The other comments in here are not related and been hidden.

@Tulsadiver
Copy link
Author

Thank you, sir!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants