mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-24 02:25:28 +00:00
Compile with Android Q SDK
We upgrade compileSdkVersion to Q, but keep targetSdkVersion as 28. The reason is because targeting Q will no longer allow us to execute native binaries in an app's private data, which Magisk Manager relies a lot for performing stock boot image patches in non rooted environment. For more information regarding this issue, check this link: https://redd.it/b2inbu Some workarounds has been discovered (https://github.com/termux/proot), however for the time being there is no point to introduce these huge hacks just for targeting Q, which we don't benefit anything.
This commit is contained in:
parent
6128c24f96
commit
4b54cf1288
@ -43,8 +43,8 @@ subprojects {
|
||||
if (getPlugins().hasPlugin('com.android.library') ||
|
||||
getPlugins().hasPlugin('com.android.application')) {
|
||||
android {
|
||||
compileSdkVersion 28
|
||||
buildToolsVersion "28.0.3"
|
||||
compileSdkVersion 'android-Q'
|
||||
buildToolsVersion '29.0.0-rc2'
|
||||
|
||||
defaultConfig {
|
||||
if (minSdkVersion == null)
|
||||
|
Loading…
Reference in New Issue
Block a user