Error:resource style/TextAppearance.Compat.Notification.Info (aka {packageId}.test:style/TextAppearance.Compat.Notification.Info) not found

后端 未结 3 453
北海茫月
北海茫月 2020-12-03 14:09

I just updated the build.gradle compile SDK to 27 API.

compileSdkVersion 27
buildToolsVersion \'27.0.3\'
targetSdkVersion 27

but but once

相关标签:
3条回答
  • 2020-12-03 14:42

    In my case, I solved it by deleting all cached libraries from Gradle on:

    \{userFolder}\.gradle\caches
    

    0 讨论(0)
  • 2020-12-03 14:49

    in my case i have added this line in gradle if u still want to use support libraries instead of AndroidX

    implementation 'com.android.support:support-v4:28.0.0'
    
    0 讨论(0)
  • 2020-12-03 14:53

    Previously:

    android:textAppearance="@style/TextAppearance.AppCompat.Notification"
    

    Now the following is correct:

    android:textAppearance="@style/TextAppearance.Compat.Notification"
    

    Since:

    compileSdkVersion 27
    buildToolsVersion "27.0.3" 
    minSdkVersion 19 
    targetSdkVersion 27
    
    0 讨论(0)
提交回复
热议问题