2016-10-12 12 views
1

Android 5.1.1이 설치된 휴대 전화에서 안드로이드 앱을 테스트 해봤는데 모든 것이 정상적으로 작동했지만 오늘은 안드로이드 5.0.2가 장착 된 태블릿에서 테스트 한 결과 다음과 같은 경고 메시지가 나타납니다. 앱이 서비스를 실행하지 않습니다Google Play 서비스가 오래되었습니다. 9683000이 필요하지만 찾았습니다. 9452230

GooglePlayServicesUtil: Google Play services out of date. Requires 9683000 but found 9452230

가 여기 내 gradle.build 파일입니다, 모든 최신 것으로 보인다. 이미 업데이트를 위해 태블릿을 확인했으며 아무 것도없는 것 같습니다.

apply plugin: 'com.android.application' 

android { 
compileSdkVersion 24 
buildToolsVersion "24.0.2" 

defaultConfig { 
    applicationId "alpha" 
    minSdkVersion 16 
    targetSdkVersion 24 
    versionCode 1 
    versionName "1.0.2" 
    multiDexEnabled true 
} 

buildTypes { 
    release { 
     minifyEnabled false 
     proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 
    } 
} 

lintOptions { 
    abortOnError false 
} 
} 

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

compile 'com.android.support:appcompat-v7:24.2.0' 
compile 'com.google.code.gson:gson:2.7' 
compile 'com.squareup.okhttp3:okhttp:3.4.1' 
compile 'com.google.android.gms:play-services-location:9.6.1' 

testCompile 'junit:junit:4.12' 
testCompile 'org.powermock:powermock-api-mockito:1.6.4' 
testCompile 'org.mockito:mockito-core:1.10.19' 
} 

문제를 해결하는 방법에 대한 아이디어, 감사합니다!

편집

여기 ADB 쉘에서 전체 로그 캣이 경우에 그 어떤 도움의 :

W/ResourceType: Failure getting entry for 0x01080ad0 (t=7 e=2768) (error -75) 
D/PhoneWindow: *FMB* installDecor mIsFloating : false 
D/PhoneWindow: *FMB* installDecor flags : 8454400 
V/ActivityThread: updateVisibility : ActivityRecord{37623128 [email protected] {alpha.MainActivity}} show : true 
I/Timeline: Timeline: Activity_idle id: [email protected] time:8624348 
W/GooglePlayServicesUtil: Google Play services out of date. Requires 9683000 but found 9452230 
+0

장치에서 업데이트 하시겠습니까? – Blackbelt

+0

Google Play 서비스? 업데이트를 확인했지만 아무 것도 없습니다. – Tuco

+0

음, 실제로 업데이트 할 것이 있습니다. – Blackbelt

답변

0

태블릿의 Google이 서비스는 최신, 당신은이 없을 수 있습니다 플레이 경우 최신 SDK 버전.

  • 이동하여 SDK 관리자 및 독립형 SDK 관리자
  • 업데이트를 안드로이드 SDK 도구, 안드로이드 SDK 플랫폼 도구와 안드로이드 SDK 빌드 - 도구를 엽니 다.

잘하면 참조 된 라이브러리가 검사되고 이후에 문제가 발생하지 않을 것입니다.

관련 문제