2017-09-08 2 views
-1
dependencies { 
    compile fileTree(dir: 'libs', include: ['*.jar']) 
    compile 'com.android.support:appcompat-v7:21.0.2' 
    compile 'com.google.android.gms:play-services:6.1.71' 
    compile 'com.google.firebase:firebase-database:10.0.1' 
} 

오류 : (30, 0) 버전 : 6.1.71이 (가) Google 서비스 플러그인에 필요한 최소 버전 (9.0.0)보다 낮습니다.버전 충돌을 해결할 수 없습니다.

+0

컴파일 'com.google.android.gms는 : 플레이 서비스 : 9.0.0'? 오류가 말하는 것처럼 이것을 시도해 볼 수 있습니까? – Soumya

+0

해당 오류가 발생하지 않음 오류 : (4) 항목의 상위 검색 중 오류 발생 : 지정된 이름과 일치하는 리소스가 없습니다. 'android : TextAppearance.Material.Widget.Button.Inverse'. 오류 : (34) 항목의 상위 검색 중 오류 : 지정된 이름 'android : Widget.Material.Button.Colored'과 일치하는 리소스가 없습니다. 오류 : (4) 항목의 상위 검색 중 오류 : 'android : TextAppearance.Material.Widget.Button.Inverse'와 일치하는 리소스가 없습니다. 오류 : (34) 항목의 상위 검색 중 오류 발생 : 지정된 이름과 일치하는 리소스가 없습니다. 'android : Widget.Material.Button.Colored' –

답변

1
just bump the version of play services to 10.0.1 
dependencies { 
    compile fileTree(dir: 'libs', include: ['*.jar']) 
    compile 'com.android.support:appcompat-v7:21.0.2' 
    compile 'com.google.android.gms:play-services:10.0.1'<---- change 
    compile 'com.google.firebase:firebase-database:10.0.1' 
} 
+0

이 오류가 발생하지 않습니다. 오류 : (4) 항목의 상위를 가져 오는 동안 오류가 발생했습니다. : 'android : TextAppearance.Material.Widget.Button.Inverse'와 일치하는 리소스가 없습니다. 오류 : (34) 항목의 상위 검색 중 오류 : 지정된 이름 'android : Widget.Material.Button.Colored'과 일치하는 리소스가 없습니다. 오류 : (4) 항목의 상위 검색 중 오류 : 'android : TextAppearance.Material.Widget.Button.Inverse'와 일치하는 리소스가 없습니다. 오류 : (34) 항목의 상위 검색 중 오류 : 지정된 이름과 일치하는 리소스가 없습니다. 'android : Widget.Material.Button.Colored' –

관련 문제