IDE “Cannot Resolve @style/Theme.Appcompat” when using v7 compatibility support theme

后端 未结 13 677
北恋
北恋 2020-12-14 06:02

This is not really a huge issue, as my project still builds and runs correctly (using gradle), but I\'m having trouble getting Android Studio to recognize the application co

13条回答
  •  渐次进展
    2020-12-14 06:26

    Filip Cvejic's answer is useful. My android studio version is 1.3.1, has the same issue. It works after add one line "compile 'com.android.support:appcompat-v7:23.0.0'" as following:

       dependencies {
            compile "com.android.support:support-v4:23.0.0"
            compile "com.android.support:support-v13:23.0.0"
            compile "com.android.support:cardview-v7:23.0.0"
            compile 'com.android.support:appcompat-v7:23.0.0'
        }
    

提交回复
热议问题