dji-sdk / Mobile-SDK-Android-V5

MSDK V5 Sample
Other
283 stars 147 forks source link

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

Open petered opened 2 months ago

petered commented 2 months 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 months 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.

°°°

dji-dev commented 4 days ago

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

The sample code for version 5.11 has resolved this issue.

°°°