A tool for reverse engineering Android apk files
Go to file
Jan Vidar Krey 5f0d53ba20 Support bounding targetSdkVersion between minSdkVersion and maxSdkVersion
It is possible to create a an AndroidStudio project that uses the following
nonsense settings:

    defaultConfig {
        minSdkVersion 15
        maxSdkVersion 19
        targetSdkVersion 25
    }

The application is successfully built by Android Studio, and the APK
works when installed on the relevant devices, however the app cannot
be re-built with Apktool afterwards.

This patch works around the problem by explicitly setting the
targetSdkVersion to the max of the maxSdkVersion and min of the minSdkVersion
only if these are specified.
2017-09-15 16:24:39 +02:00
.github smaller image 2017-09-15 08:07:20 -04:00
brut.apktool Support bounding targetSdkVersion between minSdkVersion and maxSdkVersion 2017-09-15 16:24:39 +02:00
brut.j.common update license headers 2017-07-05 12:45:51 -04:00
brut.j.dir changed all license files 2017-07-05 12:05:52 -04:00
brut.j.util Prevent malicious directory/file work with unknown files 2017-07-05 12:45:17 -04:00
gradle Upgrade to gradle 4.0 2017-07-03 07:16:53 -04:00
scripts Update Windows scripts for unicode support 2017-08-25 06:36:50 -04:00
.gitignore add old "brut.apktool.smali" folder to ignore 2015-10-14 07:41:54 -05:00
.travis.yml openjdk8 is not allowed to fail 2017-07-31 06:39:27 -04:00
build.gradle start new dev cycle (2.2.5-SNAPSHOT) 2017-07-29 09:44:57 -04:00
CONTRIBUTORS.md update url of Google Code to GitHub 2015-10-24 15:36:00 +08:00
gradlew Upgrade to gradle 4.0 2017-07-03 07:16:53 -04:00
gradlew.bat Update Gradle wrapper to 3.5 2017-04-24 12:28:25 +08:00
INTERNAL.md Drop 32 bit binaries 2017-08-24 15:53:52 -04:00
LICENSE Removes SmaliDebugging 2016-02-27 20:20:53 -05:00
README.md smaller image 2017-09-15 08:07:20 -04:00
settings.gradle Removes SmaliDebugging 2016-02-27 20:20:53 -05:00

Apktool

This is the repository for Apktool. If you are looking for the Apktool website. Click here.

Join the chat at https://gitter.im/iBotPeaches/Apktool Build Status Software License

It is a tool for reverse engineering 3rd party, closed, binary Android apps. It can decode resources to nearly original form and rebuild them after making some modifications; it makes possible to debug smali code step by step. Also it makes working with app easier because of project-like files structure and automation of some repetitive tasks like building apk, etc.

It is NOT intended for piracy and other non-legal uses. It could be used for localizing, adding some features or support for custom platforms and other GOOD purposes. Just try to be fair with authors of an app, that you use and probably like.

Support

Sponsored by

  • Sourcetoad - helping with a weekly sponsorship for continued improvement and maintenance of the project.

IDE of Choice

JetBrains IntelliJ

Security Vulnerabilities

If you discover a security vulnerability within Apktool, please send an e-mail to Connor Tumbleson at connor.tumbleson(at)gmail.com. All security vulnerabilities will be promptly addressed.