Manifest merger failed : uses-sdk:minSdkVersion 10 cannot be smaller than version L declared in library com.android.support:appcompat-v7:21.0.0-rc1

后端 未结 6 1438
慢半拍i
慢半拍i 2020-12-04 18:11

Got the above error after downloading L preview release version in Android Studio, when my project had minSdkVersion 19.

Furthermore, when

6条回答
  •  难免孤独
    2020-12-04 18:32

    To force working with a working version Just change the gradle dependencies like this:

    dependencies {
        compile 'com.android.support:gridlayout-v7:19.0.1'
        compile 'com.android.support:appcompat-v7:19+'
        ...
    }
    

    was:

    compile 'com.android.support:appcompat-v7:+'
    

    N.B.

    I updated Tools & Extras in the SDK manager.

    after the project was broken I fixed it as shown above.

    For now I do not update android L & 4.4W (enough bugs for today :-( )

提交回复
热议问题