AAPT: error: attribute cardBackgroundColor (aka com.x.x:cardBackgroundColor) not found.

* What went wrong:
Execution failed for task ':launcher:processReleaseResources'.
> Android resource linking failed
  C:\Users\Administrator\.gradle\caches\transforms-2\files-2.1\a3890adfdb75cc00c9c342ba929acf1b\res\layout\com_facebook_device_auth_dialog_fragment.xml:22: AAPT: error: attribute cardBackgroundColor (aka com.test.k22:cardBackgroundColor) not found.
      
  C:\Users\Administrator\.gradle\caches\transforms-2\files-2.1\a3890adfdb75cc00c9c342ba929acf1b\res\layout\com_facebook_device_auth_dialog_fragment.xml:22: AAPT: error: attribute cardElevation (aka com.test.k22:cardElevation) not found.
      
  C:\Users\Administrator\.gradle\caches\transforms-2\files-2.1\a3890adfdb75cc00c9c342ba929acf1b\res\layout\com_facebook_smart_device_dialog_fragment.xml:22: AAPT: error: attribute cardBackgroundColor (aka com.test.k22:cardBackgroundColor) not found.
      
  C:\Users\Administrator\.gradle\caches\transforms-2\files-2.1\a3890adfdb75cc00c9c342ba929acf1b\res\layout\com_facebook_smart_device_dialog_fragment.xml:22: AAPT: error: attribute cardElevation (aka com.test.k22:cardElevation) not found.

https://mvnrepository.com/artifact/androidx.cardview/cardview/1.0.0 

AAPT: error: attribute cardBackgroundColor (aka com.x.x:cardBackgroundColor) not found._第1张图片 

下载 cardview-1.0.0.aar 导入 Assets/Plugins/Android目录下。

你可能感兴趣的:(#,Unity误区——Fixed,Bug,#,U3D项目经验,Unity3d,android)