腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
为
Google
Maps
Android
启用
AndroidX
android
、
android-studio
、
google-maps
我正在尝试将一个简单的地图活动添加到现有的
Android
应用程序中,但当我尝试添加该活动时,"
Google
Maps
Activity“显示
为
灰色: ? 未列出打开SDK管理器
AndroidX
: ? 在哪里/如何添加
AndroidX
?这里不介绍如何
启用
AndroidX
:https://developer.
android
.com/jetpack/
andro
浏览 18
提问于2020-04-27
得票数 2
回答已采纳
3
回答
移动谷歌地图和防火墙不一起工作
android
、
firebase
、
google-maps
、
flutter
、
dart
}下面是我的模块级build.gradle文件ext.kotlin_version= '1.2.71'
google
()} classpath 'com.
google
.gms:
google
-services:4.3.2
浏览 7
提问于2019-11-30
得票数 4
回答已采纳
3
回答
不可转换类型;不能将“'com.
google
.
android
.gms.
maps
.SupportMapFragment‘”转换为“
android
.support.v4.app.Fragment”
java
;import com.
google
.
android
.gms.
maps
.OnMapReadyCallback;import com.
google
.
android
.gms.
maps
浏览 3
提问于2019-06-23
得票数 6
回答已采纳
2
回答
用FragmentContainerView替换<fragment>标签
android
、
android-fragments
Android
Studio提供替换
Google
Maps
片段中的<fragment>标签。在应用程序中,我没有Navigation,但可能会添加。看看https://proandroiddev.com/
android
-fragments-fragmentcontainerview-292f393f9ccf,我发现我们也可以用<
androidx
.fragment.app.FragmentContainerView
浏览 159
提问于2020-10-02
得票数 1
回答已采纳
6
回答
在MapFragment中错误地膨胀类片段
android
、
google-maps
>
android
:id="@+id/map"
android
:layout_height="match_parent"并使用它的片段: publ
浏览 5
提问于2013-11-20
得票数 2
回答已采纳
2
回答
其元数据的二进制版本
为
1.7.1,预期版本
为
1.5.1错误
android
、
kotlin
、
google-maps
、
android-jetpack-compose
我使用
Google
地图为我的应用程序编写jetpack,我实现了这些依赖项implementation 'com.
google
.
android
.gms:play-services-
maps
:18.0.2' 在我的app.g
浏览 17
提问于2022-09-10
得票数 0
回答已采纳
1
回答
空指针异常mapview.onResume
android
、
google-maps
、
androidx
我有下面的空指针异常2019-07-11 11:35:06.216.impl.bt.o()' on a null object reference at com.
google
.
maps
.api.
浏览 0
提问于2019-07-11
得票数 3
回答已采纳
10
回答
AndroidRuntime:致命异常: androidmapsapi-ZoomTableManager
android
、
ios
、
google-maps-android-api-2
、
google-maps-sdk-ios
、
google-maps-android-api-3
: length=1; index=12 at com.
google
.
maps
.api.
android
.lib6at com.
go
浏览 91
提问于2020-04-24
得票数 158
1
回答
当我试图在GoogleMap上放置一个标记时,为什么我得到一个NullPointerException?
kotlin
、
android-fragments
、
google-maps-markers
com.
google
.
android
.gms.internal.
maps
.zza.zzH(com.
google
.
android
.gms:play-services-
maps
@@17.0.1:2)at com.
google
.
android
.gms.
maps
.internal.zzk.onCreateView(com.
google
.
android
.gms:play-services-
maps</
浏览 34
提问于2021-10-11
得票数 2
1
回答
基于Jetpack组合的
Google
地图聚类问题
android
、
kotlin
、
google-maps
、
android-jetpack-compose
我正试图开发一个应用程序,使用谷歌地图显示一些位置。我试图为非常接近的标记实现标记聚类。但是,通过这样做,为了显示信息窗口而单击标记就不能工作了。如果有人能带我到处看看,我会很感激的。这是我的密码。 modifier = Modifier cameraPositionState = cameraPositionState, onMapClick = {
浏览 13
提问于2022-10-07
得票数 0
2
回答
启用
缩小时,带有SupportMapFragment的FragmentContainerView崩溃
android
、
android-layout
、
androidx
我有以下布局: <
androidx
.fragment.app.FragmentContainerView xmlns:
android
="http://schemas.
android
.com/apk/res"
android
:name="com.
google
.
android
.gms.
maps
.SupportMapFragment" /> 它在我的调试版本中工作得很
浏览 32
提问于2020-09-04
得票数 1
1
回答
Android
:二进制XML文件行#10
android
、
xml
、
android-studio
、
kotlin
、
google-maps
(Binder.java:1164) at com.
google
.
android
.gms.
maps
.internal.zze.zzl(com.
google
.
android</em
浏览 4
提问于2022-08-23
得票数 -1
回答已采纳
2
回答
尝试对空对象引用调用虚拟方法SupportMapFragment getMapAsync
java
、
android
、
google-maps
、
android-maps
mapFragment.getMapAsync(this)在地图中返回nullpublic class MainActivity exte
浏览 7
提问于2020-01-06
得票数 1
2
回答
无法从MapActivity访问可绘制文件
java
、
android
、
android-studio
、
nullpointerexception
; import
androidx
.core.app.ActivityCompat;import
androidx
.fragment.app.FragmentActivity; import co
浏览 6
提问于2020-06-03
得票数 0
回答已采纳
1
回答
不可转换类型;不能将“
androidx
.fragment.app.Fragment”转换为“com.
google
.
android
.gms.
maps
.MapFragment”
android
、
android-maps-v2
在我的片段中: import
androidx
.fragment.app.FragmentActivity; com.
google
.
android
.gms.
maps
.MapFragment mapFragment= (com.
google
.
android
.gms.
maps<
浏览 0
提问于2019-07-06
得票数 3
回答已采纳
1
回答
我在地图视图
android
java上收到一个错误
java
、
android
、
google-maps
;import com.
google
.
android
.gms.
maps
.GoogleMap;import com.
google
.
android
.gms.
maps
.OnMap
浏览 5
提问于2021-01-11
得票数 0
1
回答
Android
Java Firebase调用指针
java
、
android
、
firebase
、
nullpointerexception
;import com.
google
.
android
.gms.
maps
.CameraUpdateFactory;import com.
google
.
android
.gms.
maps
.Loca
浏览 1
提问于2021-03-15
得票数 1
回答已采纳
1
回答
在
Android
上获取当前位置
java
、
android
、
google-maps
、
locationmanager
、
fusedlocationproviderapi
我想知道我的位置目前在连接到我的计算机的设备上,但是由于我的位置没有改变,它不会落入onLocationChanged函数中,因此返回location = null。如何输入onLocationChanged函数?public void onMapReady(GoogleMap googleMap) { mMap.setOnMapLongClickListener(this); locationManager = (LocationManager) this.getSystemService(Conte
浏览 2
提问于2020-03-09
得票数 2
回答已采纳
1
回答
找不到GeoApiContext和DirectionsApiRequest
android
、
google-maps-android-api-2
、
directions
、
geoapi
'com.
android
.support:appcompat-v7:26.1.0' implementation '
androidx
.legacy:legacy-support-v13:1.0.0' implementation 'com.
浏览 25
提问于2020-05-16
得票数 0
回答已采纳
2
回答
错误:无法解析以下各项的依赖项:无法解析
androidx
.appcompat:1.0.0
android
、
reactjs
、
react-native
、
gradle
、
dependencies
')){ exclude group: 'com.
google
.
android
.gms', module: 'play-services-
maps
' implementation 'com.
google</em
浏览 0
提问于2019-07-08
得票数 1
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Android Auto上的Google Maps迎来新一轮界面调整
官方停用旧版Android!大批设备将不能使用YouTube、Google Maps导航
Google Maps为视力障碍者提供了详细的语音指导!
Google Maps为视障用户添加了更详细的语音指导
Google为Android增加了共享AR体验
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券