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

后端 未结 13 654
北恋
北恋 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条回答
  •  萌比男神i
    2020-12-14 06:21

    Adding compile 'com.android.support:appcompat-v7:21.0.0' to dependencies in gradle.build (Module: app) and rebuilding the project fixed the problem for me in Android studio 1.0.2.

    I also checked in SDK Manager and I did have the support libraries downloaded.

提交回复
热议问题