最近换新电脑,原来接入大疆MSDK V5 5.9.2版本,5.10.0也一样,的正常项目报错了,通过大疆技术人员找到问题答案,大疆报错mapbox类型报错:
Caused by:
org.gradle.internal.resolve.ModuleVersionNotFoundException:Could not find com.mapbox.mapboxsdk:mapbox-android-accounts:0.7.0.
The problem appeared out of nowhere, and l believe it might be related to icenter().How can l resolve this?
解决方案如下:
在build.gradle的allprojects里面加入以下镜像站
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://repo.huaweicloud.com/repository/maven' }
大疆社区链接:
https://sdk-forum.dji.net/hc/zh-cn/community/posts/36634149758489-Mapbox-SDK-dependency-not-found
发表回复