Android 모바일 버전 4.4 (롤리팝)에 내 Android 앱을 배포하면 Google Play 서비스를 업데이트하지 않으면 앱이 실행되지 않는다는 메시지가 나타납니다.Google Play 서비스 API의 역 호환 버전
나는 안드로이드 모바일을보고 구글 플레이 서비스 버전이 5.1.89임을 알 수있다. 난 내 코드에서 내가 어떤 안드로이드 모바일 앱 전문가 날이 문제를 해결하는 데 도움을 줄 수 있습니다 구글 플레이 서비스
를 업데이트하는 사용자에게 팝업을 보여 안드로이드하지 않을 8.4.0을 사용하고 알고있다. 사용자에게 Google 서비스 업데이트를 요청하지 않고 내 앱을 이전 버전과 호환되게하려면 어떻게해야하나요? 빌드시 응용 프로그램에 연결되어있는 클라이언트 라이브러리로, 상기 Google Play Services overview에 설명 된대로
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
buildTypes {
debug {
debuggable true
}
}
defaultConfig {
applicationId "com.me"
minSdkVersion 17
targetSdkVersion 23
versionCode 1
versionName "1.0"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dexOptions {
preDexLibraries = false
}
packagingOptions {
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}
lintOptions {
checkReleaseBuilds false
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.0.0'
compile 'com.android.support:design:23.0.0'
compile 'com.android.support:cardview-v7:23.0.0'
compile 'com.google.android.gms:play-services-maps:8.4.0'
compile 'com.google.android.gms:play-services-location:8.4.0'
}
필연적입니다. 그렇지 않은 경우 버전을 다운 그레이드해야하지만 일부 기능은 희생 될 것이며 오래된 버그가 다시 발생하게됩니다. – Enzokie
5.0. +로 설정하면'build.gradle' – Nikhil
에서 'comile.android.gms : play-services : 5.0. +''컴파일을 추가하려고합니다. 내 앱은 마쉬멜로 버전과 함께 Android 모바일에서 실행됩니다. Google 서비스 8.4.0? – user1439582