解决Android Studio默认AppTheme主题找不到的问题

问题:Android Studio默认AppTheme主题找不到

The following classes could not be found:
    - android.support.v7.internal.app.WindowDecorActionBar (Fix Build Path, Create Class)


解决方法1:

打开build.gradle (Module:app)
dependencies中找到compile 'com.android.support:appcompat-v7:23.1.1'
改成com.android.support:appcompat-v7:23.0.1'
更新配置即可

解决方法2:

style.xml中把<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
改成<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
也可以解决