android xml未能解析文件夹,无法在styles.xml(Android Studio)中解析符号'Theme'

3260d14652af5b804dc926075b311555.png

从今天开始,Android Studio无法在styles.xml中找到AppCompat主题,但是例如代码中的AppCompatActivity确实得到了识别.我的Android Studio版本是2.2.2,Build#AI-145.3360264

我已经尝试升级到最新的构建工具,编译sdk(25)版本等,但它没有解决问题.

目前我安装了以下内容(来自sdk经理):

android api:19和23

sdk平台工具:25.0.1

sdk工具:25.2.3

构建工具:23.0.2和25.0.1

支持存储库:40

谷歌存储库:39

和其他一些,这里没有必要列出.

app的build.gradle:

apply plugin: 'com.android.application'

android {

compileSdkVersion 23

buildToolsVersion '25.0.1'

defaultConfig {

applicationId "xxx.xxxxxxxx.xxxxxxxxx" //not the real applicationId

minSdkVersion 14

targetSdkVersion 19

versionCode 1

versionName "1.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

}

buildTypes {

release {

minifyEnabled true

shrinkResources true

proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

}

debug {

}

}

}

dependencies {

compile fileTree(include: ['*.jar'], dir: 'libs')

compile files('libs/RootTools.jar')

compile 'com.android.support:support-v4:23.+'

compile 'com.android.support:support-v13:23.+'

compile 'com.android.support:appcompat-v7:23.+'

compile 'com.android.support:design:23.+'

compile 'com.android.support:cardview-v7:23.+'

compile 'com.android.support.constraint:constraint-layout:1.0.0-beta4'

compile 'de.hdodenhof:circleimageview:2.1.0'

}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值