diff --git a/build.gradle b/build.gradle index 80ddd4bd..27a47bf6 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,8 @@ buildscript { google() } dependencies { - classpath "com.android.tools.build:gradle:4.2.2" + //classpath "com.android.tools.build:gradle:4.2.2" + classpath "com.android.tools.build:gradle:7.2.1" } } diff --git a/gradle.properties b/gradle.properties index fc751ab3..0d50349f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -17,8 +17,11 @@ android.useAndroidX=true minSdkVersion=21 targetSdkVersion=28 -ndkVersion=22.1.7171670 + +ndkVersion=24.0.8215888 compileSdkVersion=30 markwonVersion=4.6.2 +# 保持与旧版Gradle插件的兼容 +android.disableAutomaticComponentCreation=true