2014-07-03 31 views
1

我試圖在Android工作室0.8.1(測試版),並每一件事情從eclipso導入項目那張程序兼容性-V7 ATTR正確的,但同樣的錯誤。我有以下的gradle產出:程序兼容性-V7依賴返回錯誤

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'. 

[...]

任何幫助?

回答

6

從編輯搬到問題


只是爲了讓你知道的情況下,同一個有同樣的問題。

在我的情況

與我使用的是庫(CircularImageView)發生衝突,該庫有一個名爲declare-styleableTheme引起我的問​​題,所以我改成ThemeCircularImageView和每一件事情,現在完美的作品。

如果你不知道哪裏是declare-styleable屬性:res - >attrs.xml

+0

我也要同樣的問題,同樣的庫。謝謝! –

相關問題