Closed hexray-newbee closed 5 years ago
I met same problem.
ERROR: Failed to resolve: com.dji:dji-sdk:4.9 ERROR: Failed to resolve: com.dji:dji-sdk-provided:4.9
@hxl-dy could you please show us the full error message? btw what's the version of you Android Studio? could you please upgrade it to the latest stable version then retry?
@hxl-dy could you please show us the full error message? btw what's the version of you Android Studio? could you please upgrade it to the latest stable version then retry?
All message I got are shown above in bold.
please modify the content of build.gradle under "android-videostreamdecodingsample" folder to this:
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Description of the issue. Could not find com.dji:dji-sdk-provided:4.9.
Steps to reproduce the bug or crash issues(It would be great if you can provide this) 1. git clone 2. open with android studio 3. make project
Crash logs (If you can find it, it would be very helpful) Could not find com.dji:dji-sdk-provided:4.9. Searched in the following locations: https://dl.google.com/dl/android/maven2/com/dji/dji-sdk-provided/4.9/dji-sdk-provided-4.9.pom https://dl.google.com/dl/android/maven2/com/dji/dji-sdk-provided/4.9/dji-sdk-provided-4.9.jar Required by: project :app
DJI Android SDK version you are using (Like Android SDK 3.4, etc) Android SDK 4.9
DJI Product you are using (Like Phantom 4, Mavic Pro, etc)
Android system version you are using (Like Android 6.0.1, Android 5.1.1, etc)
Android device you are using (Like Samsung Galaxy Note 5, Nexus 5, etc)
Android Studio version you are using (Like Android Studio 2.2, etc) Android Studio 3.4