Error : cause android.compileSdkVersion is missing

前端 未结 4 801
谎友^
谎友^ 2021-01-08 01:00

I am recently started to work on the Android Studio. When I am doing sync with gradle then it is giving me a error .

Error : Cause: android.compileSdk

4条回答
  •  北恋
    北恋 (楼主)
    2021-01-08 01:11

    try this :

    apply plugin: 'android'
    apply from: "${rootDir}/android_common.gradle"
    

    move your apply from: "${rootDir}/android_common.gradle" to last lines

提交回复
热议问题