For example, if the latest MSDK version is 4.16.2 but UXSDK is still 4.16. UXSDK depends on MSDK 4.16 internally. We have to exclude the internal MSDK 4.16 module to make sure the complie is successful. You can refer to the code below.
implementation ('com.dji:dji-uxsdk:4.16', {
exclude module: 'dji-sdk'
})
implementation('com.dji:dji-sdk:4.16.2', {
exclude module: 'library-anti-distortion'
exclude module: 'fly-safe-database'
})
compileOnly ('com.dji:dji-sdk-provided:4.16.2')
Comments
0 comments
Please sign in to leave a comment.