No resource found that matches the given name (at 'cardBackgroundColor' with value '?android:attr/colorBackgroundFloating')

前端 未结 7 1374
梦如初夏
梦如初夏 2021-01-03 20:42

I am getting these two error messages when trying to compile:

/Users/dericw/coding/myApplication/lfdate/android/app/build/intermediates/exploded-aar/com.andr         


        
7条回答
  •  -上瘾入骨i
    2021-01-03 21:21

    my system already had 23 installed. from project panel, Application -> Open module setting (F4) -> application -> Properties tab. I had Compile Sdk Version Android 5.50 (lollipop). So I changed to API 23+ and it worked. So I checked Application build.gradle changed
    from compileSdkVersion 21
    buildToolsVersion "23.0.3"
    to
    compileSdkVersion 'android-N'
    buildToolsVersion "23.0.3"

    so I"m guessing you can simply change compoileSdkVersion to your buildTollVersion.

提交回复
热议问题