-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sample code doesn't compile #401
Comments
Agent comment from yating.liao in Zendesk ticket #115030: °°° |
我5.4版本是开源正常运行的,5.10版本跟这个人的问题是一模一样。 |
Same error for me Kotlin: 1.7.10 |
Hello, @dji-dev It doesn't seem to me that proxy or network is the issue and here are my arguments:
I am also able to find some @dzx815 Thank you for the tip. I tried to compile tag v5.4.0. although I was able to get further in the compilation process (after I changed the gradle to 7.6.2, by default it was set to 6.1 and it didn't work). I am still encountering the same issue, but later into build. Here is the log - build_v5-4-0_tag.log. P.S. sorry I've closed the issue by mistake |
Android Studio Giraffe | 2022.3.1 Patch 4 KOTLIN_VERSION = 1.6.10
|
@b-caveiro You can to try configuring the Gradle version to 7.x, for example, using Gradle version 7.6.2 or 7.3.3, and AGP version 7.4.2 or 7.0.3. |
I got same error, and I solved it with adding three line in allprojects block
|
@hiropeng thank you for your suggestion. Unfortunetely, doesn't seem to work for me. Tried to compile it for
Could you please share other settings of your project? Which version are you compiling and which gradle/kotlin/AGP are you using? |
@hiropeng Thank you, it worked! 🎉 For people who will encounter this problem, here are my settings and git diff for
|
@hiropeng and how did you choose these URLs? is there a place to check for availability of outdated java libs 😁 like f.e. pkgs.org for linux packages? |
Hello DJI team,
I am starting with the DJI Mobile SDK development and having issues with the dependencies while compiling the code. Some instructions seem to be outdated (different versions of Android Studio mentioned in Run Sample Code and Empty Project Import MSDK). I've also tried to compile with almost all tags between V5.8.0 - V5.10.0 and all of them had the same issue
Here's my setup (
./gradlew --version
):The main dependency error during the compilation looks like this:
Full output of the build with errors: compilation_output_error.txt
I've registered accounts to create tokens and put them inside
gradle.properties
file:MAPLIBRE_TOKEN=
orMAPBOX_DOWNLOADS_TOKEN=
MAPLIBRE_TOKEN=
AIRCRAFT_API_KEY=
Thank you in advance for your help!
The text was updated successfully, but these errors were encountered: