dji-sdk / Mobile-SDK-Android

DJI Mobile SDK for Android: http://developer.dji.com/mobile-sdk/
Other
972 stars 579 forks source link

Could not find method provided() for arguments [com.dji:dji-sdk-provided:4.12] #1052

Open eyal-gi opened 2 years ago

eyal-gi commented 2 years ago

Hi, I'm trying to integrate the Mobile-SDK with AndroidStudio by following the tutorial here: https://developer.dji.com/mobile-sdk/documentation/application-development-workflow/workflow-integrate.html#android-studio-project-integration

But I get an error right at the beginning when adding the lines: dependencies { ... compile ('com.dji:dji-sdk:4.12') provided ('com.dji:dji-sdk-provided:4.12') }

The error are: Could not find method compile() for arguments [com.dji:dji-sdk-provided:4.12] Could not find method provided() for arguments [com.dji:dji-sdk-provided:4.12]

I'll appreciate any help, thanks.

dji-dev commented 2 years ago

Agent comment from DJI SDK in Zendesk ticket #55552:

尊敬的开发者,感谢您联系DJI 大疆创新 由于github不是我们主要的咨询渠道,您的问题可能跟进不及时。我们建议您通过填写表单( https://djisdksupport.zendesk.com/hc/zh-cn/requests/new )向我们反馈问题。或者您也可以在论坛发帖,与其它开发者交流。论坛链接:https://djisdksupport.zendesk.com/hc/zh-cn/community/topics

Dear developer, thank you for contacting DJI. Since github is not our main consultation channel, your questions may not be followed up in time. We recommend that you fill in the form (https://djisdksupport.zendesk.com/hc/en-us/requests/new) to report problems to us. Or you can post in the forum to communicate with other developers. Forum link: https://djisdksupport.zendesk.com/hc/zh-cn/community/topics

°°°

DJI-William commented 2 years ago

I think 4.12 is too old to use, use the latest 4.15.1. Also, don't follow the instrctions as they are out of data, you can just simply download the final project from github and try.