diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..34350c3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,38 @@
+.DS_Store
+# built application files
+*.apk
+*.ap_
+
+# files for the dex VM
+*.dex
+
+# Java class files
+*.class
+
+# generated files
+/bin
+/gen
+build/
+.gradle
+
+# Local configuration file (sdk path, etc)
+local.properties
+
+# Eclipse project files
+#.classpath
+
+# Proguard folder generated by Eclipse
+proguard/
+
+# Intellij project files
+*.ipr
+*.iws
+*.iml
+.idea/
+
+#ant relative files
+build.xml
+#ant.properties
+
+#backup files
+*.bak
diff --git a/README.md b/README.md
index b68e7b8..056acc9 100644
--- a/README.md
+++ b/README.md
@@ -13,20 +13,20 @@ Declare dependency via Maven:
com.dji
dji-uxsdk
- 4.14
+ 4.15
com.dji
dji-sdk-provided
- 4.14
+ 4.15.1
~~~
or Gradle:
~~~groovy
-implementation ('com.dji:dji-uxsdk:4.14', {
+implementation ('com.dji:dji-uxsdk:4.15', {
/**
* Comment the "library-anti-distortion" if your app does need Anti Distortion for Mavic 2 Pro and Mavic 2 Zoom.
* Comment the "fly-safe-database" if you do not need database for release, or we will download it when DJISDKManager.getInstance().registerApp
@@ -34,7 +34,7 @@ implementation ('com.dji:dji-uxsdk:4.14', {
* Both will greatly reduce the size of the APK.
*/
exclude module: 'library-anti-distortion'
- exclude module: 'fly-safe-database'
+ // exclude module: 'fly-safe-database'
/**
* Uncomment the following line to exclude amap from the app.
@@ -42,28 +42,7 @@ implementation ('com.dji:dji-uxsdk:4.14', {
*/
// exclude group: 'com.amap.api'
})
-/**
- * Uncomment the following block if you are using an SDK version does not match the UX SDK
- * version above. For example, this could be used if the SDK has a minor release version
- * ahead of the UX SDK.
- */
-// implementation ('com.dji:dji-sdk:4.14', {
-// /**
-// * Uncomment the "library-anti-distortion" if your app does not need Anti Distortion for Mavic 2 Pro and Mavic 2 Zoom.
-// * Uncomment the "fly-safe-database" if you need database for release, or we will download it when DJISDKManager.getInstance().registerApp
-// * is called.
-// * Both will greatly reduce the size of the APK.
-// */
-// exclude module: 'library-anti-distortion'
-// exclude module: 'fly-safe-database'
-//
-// /**
-// * Uncomment the following line to exclude amap from the app.
-// * Note that Google Play Store does not allow APKs that include this library.
-// */
-// // exclude group: 'com.amap.api'
-// })
-compileOnly ('com.dji:dji-sdk-provided:4.14')
+compileOnly ('com.dji:dji-sdk-provided:4.15.1')
~~~
For further detail on how to integrate the DJI UX SDK into your Android Studio project, please check the [Getting Started with UX SDK](http://developer.dji.com/mobile-sdk/documentation/android-tutorials/UXSDKDemo.html#import-maven-dependency) tutorial.
@@ -108,4 +87,3 @@ You can get support from DJI with the following methods:
DJI is looking for all kinds of Software Engineers to continue building the Future of Possible. Available positions in Shenzhen, China and around the world. If you are interested, please send your resume to . For more details, and list of all our global offices, please check .
DJI 招软件工程师啦,based在深圳,如果你想和我们一起把DJI产品做得更好,请发送简历到 . 详情请浏览 .
-
diff --git a/docs/Android_UX_SDK_Release_Notes.pdf b/docs/Android_UX_SDK_Release_Notes.pdf
index 718f915..6ecb32b 100644
Binary files a/docs/Android_UX_SDK_Release_Notes.pdf and b/docs/Android_UX_SDK_Release_Notes.pdf differ
diff --git a/sample/app/build.gradle b/sample/app/build.gradle
index 95a288a..eb1c165 100644
--- a/sample/app/build.gradle
+++ b/sample/app/build.gradle
@@ -77,26 +77,14 @@ android {
}
dependencies {
- implementation ('com.dji:dji-uxsdk:4.14', {
- exclude module: 'dji-sdk'
-
+ implementation ('com.dji:dji-uxsdk:4.15', {
/**
* Uncomment the following line to exclude amap from the app.
* Note that Google Play Store does not allow APKs that include this library.
*/
// exclude group: 'com.amap.api'
})
- implementation ('com.dji:dji-sdk:4.15', {
- /**
- * Uncomment the "library-anti-distortion" if your app does not need Anti Distortion for Mavic 2 Pro and Mavic 2 Zoom.
- * Uncomment the "fly-safe-database" if you need database for release, or we will download it when DJISDKManager.getInstance().registerApp
- * is called.
- * Both will greatly reduce the size of the APK.
- */
- exclude module: 'library-anti-distortion'
- exclude module: 'fly-safe-database'
- })
- compileOnly ('com.dji:dji-sdk-provided:4.15')
+ compileOnly ('com.dji:dji-sdk-provided:4.15.1')
// AMAP: Do not include if publishing to Google Play Store
implementation 'com.amap.api:3dmap:7.3.0'