环境:
buildToolsVersion “31.0.0”
distributionUrl=file:///D:/product/tool/gradle-7.5-all.zip
dependencies {
classpath ‘com.android.tools.build:gradle:7.4.2’
}
Android SDK version that will be used as the compile project
PROP_COMPILE_SDK_VERSION=34
Android SDK version that will be used as the earliest version of android this application can run on
PROP_MIN_SDK_VERSION=23
Android SDK version that will be used as the latest version of android this application has been tested on
PROP_TARGET_SDK_VERSION=34
Android Build Tools version that will be used as the compile project
PROP_BUILD_TOOLS_VERSION=28.0.3
(除却 buildToolsVersion "31.0.0"这个设置,我同样的环境在cocosCreator3.7.4编译apiLevel14(android-34)是可以正常打包的,但是在cocosCreator2.4.8会报以上的错误信息)




