diff --git a/native/cocos/platform/android/libcocos2dx-with-controller/build.gradle b/native/cocos/platform/android/libcocos2dx-with-controller/build.gradle index 4fbe7305c1..7e8e2af6f6 100644 --- a/native/cocos/platform/android/libcocos2dx-with-controller/build.gradle +++ b/native/cocos/platform/android/libcocos2dx-with-controller/build.gradle @@ -1,12 +1,12 @@ apply plugin: 'com.android.library' android { - compileSdkVersion 22 - buildToolsVersion "22.0.1" + compileSdkVersion 26 + buildToolsVersion "26.0.2" defaultConfig { - minSdkVersion 10 - targetSdkVersion 22 + minSdkVersion 14 + targetSdkVersion 26 versionCode 1 versionName "1.0" } diff --git a/native/cocos/platform/android/libcocos2dx/build.gradle b/native/cocos/platform/android/libcocos2dx/build.gradle index cb1d217962..65be435199 100644 --- a/native/cocos/platform/android/libcocos2dx/build.gradle +++ b/native/cocos/platform/android/libcocos2dx/build.gradle @@ -1,12 +1,12 @@ apply plugin: 'com.android.library' android { - compileSdkVersion 22 + compileSdkVersion 26 buildToolsVersion '26.0.2' defaultConfig { - minSdkVersion 10 - targetSdkVersion PROP_TARGET_SDK_VERSION + minSdkVersion PROP_TARGET_SDK_VERSION + targetSdkVersion 26 versionCode 1 versionName "1.0" } diff --git a/native/templates/js-template-binary/frameworks/runtime-src/proj.android-studio/app/build.gradle b/native/templates/js-template-binary/frameworks/runtime-src/proj.android-studio/app/build.gradle index fc5b4f3112..ca63ab7e2a 100755 --- a/native/templates/js-template-binary/frameworks/runtime-src/proj.android-studio/app/build.gradle +++ b/native/templates/js-template-binary/frameworks/runtime-src/proj.android-studio/app/build.gradle @@ -3,13 +3,13 @@ import org.apache.tools.ant.taskdefs.condition.Os apply plugin: 'com.android.application' android { - compileSdkVersion 22 + compileSdkVersion 26 buildToolsVersion '26.0.2' defaultConfig { applicationId "org.cocos2dx.hellojavascript" - minSdkVersion 10 - targetSdkVersion PROP_TARGET_SDK_VERSION + minSdkVersion PROP_TARGET_SDK_VERSION + targetSdkVersion 26 versionCode 1 versionName "1.0" diff --git a/native/templates/js-template-binary/frameworks/runtime-src/proj.android-studio/gradle.properties b/native/templates/js-template-binary/frameworks/runtime-src/proj.android-studio/gradle.properties index a3481a69a4..3b03efe9e5 100755 --- a/native/templates/js-template-binary/frameworks/runtime-src/proj.android-studio/gradle.properties +++ b/native/templates/js-template-binary/frameworks/runtime-src/proj.android-studio/gradle.properties @@ -17,7 +17,7 @@ # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true -PROP_TARGET_SDK_VERSION=22 +PROP_TARGET_SDK_VERSION=14 PROP_APP_ABI=armeabi-v7a RELEASE_STORE_FILE= diff --git a/native/templates/js-template-default/frameworks/runtime-src/proj.android-studio/app/build.gradle b/native/templates/js-template-default/frameworks/runtime-src/proj.android-studio/app/build.gradle index 63c4e2f394..fb8a5bacd8 100755 --- a/native/templates/js-template-default/frameworks/runtime-src/proj.android-studio/app/build.gradle +++ b/native/templates/js-template-default/frameworks/runtime-src/proj.android-studio/app/build.gradle @@ -3,13 +3,13 @@ import org.apache.tools.ant.taskdefs.condition.Os apply plugin: 'com.android.application' android { - compileSdkVersion 22 + compileSdkVersion 26 buildToolsVersion '26.0.2' defaultConfig { applicationId "org.cocos2d.helloworld" - minSdkVersion 10 - targetSdkVersion PROP_TARGET_SDK_VERSION + minSdkVersion PROP_TARGET_SDK_VERSION + targetSdkVersion 26 versionCode 1 versionName "1.0" diff --git a/native/templates/js-template-default/frameworks/runtime-src/proj.android-studio/gradle.properties b/native/templates/js-template-default/frameworks/runtime-src/proj.android-studio/gradle.properties index a3481a69a4..3b03efe9e5 100755 --- a/native/templates/js-template-default/frameworks/runtime-src/proj.android-studio/gradle.properties +++ b/native/templates/js-template-default/frameworks/runtime-src/proj.android-studio/gradle.properties @@ -17,7 +17,7 @@ # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true -PROP_TARGET_SDK_VERSION=22 +PROP_TARGET_SDK_VERSION=14 PROP_APP_ABI=armeabi-v7a RELEASE_STORE_FILE= diff --git a/native/templates/js-template-link/frameworks/runtime-src/proj.android-studio/app/build.gradle b/native/templates/js-template-link/frameworks/runtime-src/proj.android-studio/app/build.gradle index fc5b4f3112..ca63ab7e2a 100755 --- a/native/templates/js-template-link/frameworks/runtime-src/proj.android-studio/app/build.gradle +++ b/native/templates/js-template-link/frameworks/runtime-src/proj.android-studio/app/build.gradle @@ -3,13 +3,13 @@ import org.apache.tools.ant.taskdefs.condition.Os apply plugin: 'com.android.application' android { - compileSdkVersion 22 + compileSdkVersion 26 buildToolsVersion '26.0.2' defaultConfig { applicationId "org.cocos2dx.hellojavascript" - minSdkVersion 10 - targetSdkVersion PROP_TARGET_SDK_VERSION + minSdkVersion PROP_TARGET_SDK_VERSION + targetSdkVersion 26 versionCode 1 versionName "1.0" diff --git a/native/templates/js-template-link/frameworks/runtime-src/proj.android-studio/gradle.properties b/native/templates/js-template-link/frameworks/runtime-src/proj.android-studio/gradle.properties index a3481a69a4..3b03efe9e5 100755 --- a/native/templates/js-template-link/frameworks/runtime-src/proj.android-studio/gradle.properties +++ b/native/templates/js-template-link/frameworks/runtime-src/proj.android-studio/gradle.properties @@ -17,7 +17,7 @@ # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true -PROP_TARGET_SDK_VERSION=22 +PROP_TARGET_SDK_VERSION=14 PROP_APP_ABI=armeabi-v7a RELEASE_STORE_FILE= diff --git a/native/tools/simulator/frameworks/runtime-src/proj.android-studio/app/build.gradle b/native/tools/simulator/frameworks/runtime-src/proj.android-studio/app/build.gradle index d5ec30dc85..36df74cedd 100755 --- a/native/tools/simulator/frameworks/runtime-src/proj.android-studio/app/build.gradle +++ b/native/tools/simulator/frameworks/runtime-src/proj.android-studio/app/build.gradle @@ -3,13 +3,13 @@ import org.apache.tools.ant.taskdefs.condition.Os apply plugin: 'com.android.application' android { - compileSdkVersion 22 + compileSdkVersion 26 buildToolsVersion '26.0.2' defaultConfig { applicationId "org.cocos2d.helloworld" - minSdkVersion 10 - targetSdkVersion PROP_TARGET_SDK_VERSION + minSdkVersion PROP_TARGET_SDK_VERSION + targetSdkVersion 26 versionCode 1 versionName "1.0" diff --git a/native/tools/simulator/frameworks/runtime-src/proj.android-studio/gradle.properties b/native/tools/simulator/frameworks/runtime-src/proj.android-studio/gradle.properties index cc90e06ea7..b85b5f0ba1 100755 --- a/native/tools/simulator/frameworks/runtime-src/proj.android-studio/gradle.properties +++ b/native/tools/simulator/frameworks/runtime-src/proj.android-studio/gradle.properties @@ -17,7 +17,7 @@ # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true -PROP_TARGET_SDK_VERSION=22 +PROP_TARGET_SDK_VERSION=14 PROP_APP_ABI=armeabi:armeabi-v7a:arm64-v8a:x86 RELEASE_STORE_FILE=debug.keystore