Build failed after updating tools for Android L

前端 未结 3 839
醉话见心
醉话见心 2021-02-07 07:39

I cannot build my project after updating the tools. I get this error in Android Studio.

/build/exploded-aar/com.android.support/support-v4/21.0.0-rc1/And

3条回答
  •  南旧
    南旧 (楼主)
    2021-02-07 07:58

    Did you update your build.gradle file to reflect these changes?

    compileSdkVersion is set to 'android-L'
    minSdkVersion is set to 'L'
    targetSdkVersion is set to 'L'
    

    Source: http://developer.android.com/preview/setup-sdk.html

提交回复
热议问题