找不到 OnCameraIdleListener(不推荐使用 OnCameraChangeListener())_ Android 工作室?
OnCameraIdleListener not found ( OnCameraChangeListener() is deprecated ) _ Android studio?
我正在做我的项目并且工作得很好但是突然给我一个错误:
这是我的 gradle :
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "24.0.1"
int minSdk = hasProperty('devMinSdk') ? devMinSdk.toInteger() : 16
defaultConfig {
minSdkVersion minSdk
applicationId "com.ir.zanis.marketing_manager"
minSdkVersion 16
targetSdkVersion 23
versionCode 1
versionName "1.0"
vectorDrawables.useSupportLibrary = true
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.google.android.gms:play-services-maps:9.2.1'
compile 'com.google.android.gms:play-services-places:9.2.1'
compile 'com.android.support:recyclerview-v7:23.+'
compile 'com.android.support:cardview-v7:23.+'
compile 'com.google.maps.android:android-maps-utils:0.4+'
compile files('libs/volley.jar')
compile files('libs/androiddbviewer.jar')
}
在我的代码中告诉我:
快速解决
compile 'com.google.maps.android:android-maps-utils:0.4.2
我正在做我的项目并且工作得很好但是突然给我一个错误:
这是我的 gradle :
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "24.0.1"
int minSdk = hasProperty('devMinSdk') ? devMinSdk.toInteger() : 16
defaultConfig {
minSdkVersion minSdk
applicationId "com.ir.zanis.marketing_manager"
minSdkVersion 16
targetSdkVersion 23
versionCode 1
versionName "1.0"
vectorDrawables.useSupportLibrary = true
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.google.android.gms:play-services-maps:9.2.1'
compile 'com.google.android.gms:play-services-places:9.2.1'
compile 'com.android.support:recyclerview-v7:23.+'
compile 'com.android.support:cardview-v7:23.+'
compile 'com.google.maps.android:android-maps-utils:0.4+'
compile files('libs/volley.jar')
compile files('libs/androiddbviewer.jar')
}
在我的代码中告诉我:
快速解决
compile 'com.google.maps.android:android-maps-utils:0.4.2