@@ -5,14 +5,14 @@ repositories {
55}
66
77android {
8- compileSdkVersion 29
9- buildToolsVersion ' 29 .0.3 '
8+ compileSdkVersion 30
9+ buildToolsVersion ' 30 .0.2 '
1010 useLibrary ' org.apache.http.legacy'
1111
1212 defaultConfig {
1313 applicationId " com.dji.videostreamdecodingsample"
1414 minSdkVersion 19
15- targetSdkVersion 29
15+ targetSdkVersion 30
1616 multiDexEnabled true
1717 ndk {
1818 // On x86 devices that run Android API 23 or above, if the application is targeted with API 23 or
@@ -80,7 +80,7 @@ android {
8080dependencies {
8181 implementation ' androidx.multidex:multidex:2.0.0'
8282 implementation ' com.squareup:otto:1.3.8'
83- implementation(' com.dji:dji-sdk:4.14-trial1 ' , {
83+ implementation(' com.dji:dji-sdk:4.15 ' , {
8484 /**
8585 * Uncomment the "library-anti-distortion" if your app does not need Anti Distortion for Mavic 2 Pro and Mavic 2 Zoom.
8686 * Uncomment the "fly-safe-database" if you need database for release, or we will download it when DJISDKManager.getInstance().registerApp
@@ -90,17 +90,12 @@ dependencies {
9090 exclude module : ' library-anti-distortion'
9191 // exclude module: 'fly-safe-database'
9292 })
93- compileOnly ' com.dji:dji-sdk-provided:4.14-trial1 '
93+ compileOnly ' com.dji:dji-sdk-provided:4.15 '
9494
95- implementation ' androidx.appcompat:appcompat:1.0 .0'
96- implementation ' androidx.core:core:1.0.0 '
97- implementation ' androidx.constraintlayout:constraintlayout:1.1.3 '
98- implementation ' androidx.recyclerview:recyclerview:1.0 .0'
99- implementation ' androidx.lifecycle:lifecycle-extensions:2.0.0-rc01 '
100- implementation ' androidx.annotation:annotation:1.0 .0'
95+ implementation ' androidx.appcompat:appcompat:1.2 .0'
96+ implementation ' androidx.core:core:1.3.2 '
97+ implementation ' androidx.constraintlayout:constraintlayout:2.0.4 '
98+ implementation ' androidx.recyclerview:recyclerview:1.1 .0'
99+ implementation ' androidx.lifecycle:lifecycle-extensions:2.2.0 '
100+ implementation ' androidx.annotation:annotation:1.2 .0'
101101}
102-
103- // Please uncomment the following code if you use your own sdk version.
104- // If can't get the file, Try a few times more
105- // apply from : "https://terra-1-g.djicdn.com/71a7d383e71a4fb8887a310eb746b47f/msdk/Android-CommonConfig/config_sample_all.gradle"
106-
0 commit comments