react-native 导入高德地图

  1. 高德官网 : https://lbs.amap.com/
  2. GitHub地址: https://github.com/qiuxiang/react-native-amap3d
  3. 安装的时候遇到错误:一般是这个:Execution failed for task ':react-native-amap3d:compileDebugKotlin'  ,解决办法:https://github.com/25juan/react-native-amap3d/commit/30b92dad1ec6d59b82bbfcb0b12051c36ef8cfb0
  4. 获取appkey: 在终端:
    cd .android
    keytool -list -v -keystore debug.keystore

    5、运行代码,可以参考官方demo,或者api

猜你喜欢

转载自www.cnblogs.com/founderswitch/p/10791646.html