【问题标题】:OnCameraIdleListener not found ( OnCameraChangeListener() is deprecated ) _ Android studio?未找到 OnCameraIdleListener(不推荐使用 OnCameraChangeListener())_Android 工作室?
【发布时间】:2017-01-05 08:46:51
【问题描述】:

我正在做我的项目并且工作良好,但突然给我一个错误:

这是我的毕业典礼:

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')
}

在我的代码中显示:

【问题讨论】:

  • @IntelliJ Amiya。不工作。
  • @IntelliJ Amiya。您的回复链接是真实的。回答投票问题。非常感谢
  • 老实说,我来这里是为了知识而不是为了更多的投票。我对你的要求请在 url 的原始用户上方投票。
  • @IntelliJ Amiya。很高兴认识你。

标签: android android-maps-v2 android-maps


【解决方案1】:

快速解决

compile 'com.google.maps.android:android-maps-utils:0.4.2

【讨论】:

猜你喜欢
  • 2016-12-08
  • 2016-12-29
  • 2019-02-12
  • 2018-05-13
  • 1970-01-01
  • 2019-04-27
  • 2014-04-15
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多