Cannot resolve symbol 'Theme' in styles.xml (Android Studio)

后端 未结 23 2249
半阙折子戏
半阙折子戏 2020-11-27 11:56

Since today, Android Studio can\'t find the AppCompat themes in styles.xml, but for example AppCompatActivity in code does get recognized. My Android Studio version

23条回答
  •  無奈伤痛
    2020-11-27 12:41

    I went through the same problem when I upgraded to alpha-2.

    I looked at this link: http://tools.android.com/recent, but the only thing that worked well was:

    Change this: Classpath 'com.android.tools.build:gradle:2.3.0-alpha2'

    For this: Classpath 'com.android.tools.build:gradle:2.2.3'

    In your build.gradle (Project)

提交回复
热议问题