Android appcompat-v7依赖项返回错误
我正在尝试从android studio 0.8.1(beta版)上的eclipso导入项目,一切正常,但appcompat-v7 attr上的错误相同。我有以下几个等级:Android appcompat-v7依赖项返回错误,android,android-studio,android-appcompat,Android,Android Studio,Android Appcompat,我正在尝试从android studio 0.8.1(beta版)上的eclipso导入项目,一切正常,但appcompat-v7 attr上的错误相同。我有以下几个等级: apply plugin: 'com.android.application' android { compileSdkVersion 19 buildToolsVersion '19.1.0' defaultConfig { applicationId "package" minSdkVersion 1
apply plugin: 'com.android.application'
android {
compileSdkVersion 19
buildToolsVersion '19.1.0'
defaultConfig {
applicationId "package"
minSdkVersion 10
targetSdkVersion 19
versionCode 1
versionName "1.0"
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile project(":facebook")
compile project(":socketConnetion")
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:19.0.+'
compile 'com.android.support:support-v4:20.+'
compile 'com.google.android.gms:play-services:+'
}
当我同步gradle时,我不断收到错误:
/Users/tiag`omissiato/AndroidstudioProjects/Get/build/intermediates/exploded-aar/com.android.support/appcompat-v7/19.0.1/res/values/values.xml
Error:(432, 21) No resource found that matches the given name: attr 'dropdownListPreferredItemHeight'.
Error:(434, 21) No resource found that matches the given name: attr 'popupMenuStyle'.
Error:(432, 21) No resource found that matches the given name: attr 'dropdownListPreferredItemHeight'.
Error:(434, 21) No resource found that matches the given name: attr 'popupMenuStyle'.
Error:(432, 21) No resource found that matches the given name: attr 'dropdownListPreferredItemHeight'.
[……]
有任何帮助吗???从问题中的编辑中删除
只是想让你知道,万一同一个人有同样的问题 在我的例子中,与我正在使用的一个库(
CircularImageView
)发生冲突,该库有一个名为Theme
的declare styleable
,这导致了我的问题,所以我改为ThemeCircularImageView
,现在一切都正常了
如果您不知道declare styleable
属性在哪里:res
->attrs.xml
从问题中的编辑中移动
只是想让你知道,万一同一个人有同样的问题 在我的例子中,与我正在使用的一个库(
CircularImageView
)发生冲突,该库有一个名为Theme
的declare styleable
,这导致了我的问题,所以我改为ThemeCircularImageView
,现在一切都正常了
如果您不知道
declare styleable
属性在哪里:res
->attrs.xml
对我来说同样的问题,同样的库。谢谢同样的问题,同样的图书馆。谢谢