美文网首页程序人生
Build Failure on Android Studio

Build Failure on Android Studio

作者: 为自己代颜_ | 来源:发表于2021-08-12 18:06 被阅读0次

    Step 1 : Go to File -> Invalidate & restart Option to invalidate all cached build files
    Step 2 : Update below mentioned code in gradle.build (Module App)

    android {
    compileSdkVersion 30
    buildToolsVersion "30.0.0"

    defaultConfig {
    applicationId "com.example.myapplication"
    minSdkVersion 23
    targetSdkVersion 30
    versionCode 1
    versionName "1.0"

    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

    相关文章

      网友评论

        本文标题:Build Failure on Android Studio

        本文链接:https://www.haomeiwen.com/subject/heolbltx.html