每次用Android studio创建项目,第一次运行都没什么问题,这是gradle文件内容:
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "com.ijianbao.mytestproject1"
minSdkVersion 14
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:design:23.1.1'
compile 'com.android.support:appcompat-v7:23.1.1'
}
然后将Android studio重新打开,这时就显示no resource not found
的问题:
这个是为什么啊?怎么解决啊?
今天在用一个UI开源框架PagerSlidingTabStrip的时候,当我在xml设置相关属性后报了以下错误:
No resource identifier found for attribute 'pstsIndicatorColor' in package xxx
我检查了下xml已经有添加包名的命名空间,可为什么还是会报错?后来网上查了相关资料。终于解决了。
解决方法:
在给布......
答案就在这里:No resource identifier found for attribute 'pstsIndicatorColor' in package
----------------------Hi,地球人,我是问答机器人小S,上面的内容就是我狂拽酷炫叼炸天的答案,除了赞同,你还有别的选择吗?
没有找到对应的资源,你检查一下你的V7包的