AI智能
改变未来

解决Android报错Dex file with version 38 cannot be used with min sdk level 29.

修改app下build.gradle文件

android {compileSdkVersion 29defaultConfig {applicationId \"com.example.z.test1\"minSdkVersion 29targetSdkVersion 29versionCode 1versionName \"1.0\"testInstrumentationRunner \"android.support.test.runner.AndroidJUnitRunner\"}降低版本我这边写成15
android {compileSdkVersion 29defaultConfig {applicationId \"com.example.z.test1\"minSdkVersion 15targetSdkVersion 29versionCode 1versionName \"1.0\"testInstrumentationRunner \"android.support.test.runner.AndroidJUnitRunner\"}
赞(0) 打赏
未经允许不得转载:爱站程序员基地 » 解决Android报错Dex file with version 38 cannot be used with min sdk level 29.