dji-sdk / Mobile-SDK-Android-V5

MSDK V5 Sample
Other
267 stars 143 forks source link

Build failure due to inability to find com.mapbox.mapboxsdk:mapbox-android-accounts:0.7.0 #424

Open petered opened 2 weeks ago

petered commented 2 weeks ago

This happens when building the android-sdk-v5-as sample app.

Already saw the solution, here, thanks Yating - just adding it here so that others can also find it.

Solution

Basically, add the lines

        maven { url 'https://maven.aliyun.com/repository/public' }
        maven { url 'https://maven.aliyun.com/repository/google' }
        maven { url 'https://repo.huaweicloud.com/repository/maven'}

To the allprojects{repositories{...}} section of SampleCode-V5/android-sdk-v5-as/build.gradle

And it should build.

Can we please keep this issue open until it is fixed on the main branch?

dji-dev commented 2 weeks ago

Agent comment from yating.liao in Zendesk ticket #117608:

I will keep this issue open until the fix is merged into the main branch.

°°°