mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-12 05:47:46 +01:00
5f0d53ba20
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. |
||
---|---|---|
.. | ||
src | ||
build.gradle |