“IBitmapDescriptorFactory is not initialized” error

后端 未结 7 792
小鲜肉
小鲜肉 2021-01-31 13:52

I\'m trying to get a marker with an custom icon in Google Maps Android API v2. I just changed one of the examples Google provides. I added .icon(BitmapDescriptorFactory.fr

相关标签:
7条回答
  • 2021-01-31 14:24

    Ok here is a solution that's work for me, i found it accidentally ! just upgrade your Gradle to com.android.tools.build:gradle:3.6.2

        dependencies {
        classpath 'com.android.tools.build:gradle:3.6.2'
    
    
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
    
    0 讨论(0)
提交回复
热议问题