Closed inkcrazy666 closed 1 year ago
I have the same problem. Have you solved it?
I have the same problem. Have you solved it?
别用公司网络,用自己手机数据翻墙装
I have the same problem. Have you solved it?
别用公司网络,用自己手机数据翻墙装
那我七月份再试试,我们又要百度地图换高德地图,上次失败了,再试试😂 你们高德地图/定位都用什么补丁,或者修改了啥,能分享一下或者写篇博客吗,哈哈哈哈
我切回react-native-amap-geolocation这个库了,没用这个
这个库没地图啊,只有定位
gradle6.0.1, classpath("com.android.tools.build:gradle:3.5.4") 把kotlin_version版本由1.7.21->1.4.32
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
def getExt(prop, fallback) {
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}
buildscript {
// ext.kotlin_version = '1.7.21'
ext.kotlin_version = '1.4.32'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
android {
compileSdkVersion getExt('compileSdkVersion', 33)
buildToolsVersion getExt('buildToolsVersion', '33.0.0')
defaultConfig {
minSdkVersion getExt('minSdkVersion', 21)
targetSdkVersion getExt('targetSdkVersion', 33)
}
}
dependencies {
compileOnly 'com.facebook.react:react-native:+'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.amap.api:3dmap:9.6.0'
}
problem occurred configuring project ':react-native-amap3d'.
注释掉一些库也不行
react-native-amap3d这个库里面我改掉了,镜像地址成功了,运行还是失败的。