Updating MSDK in application
Hello
We are developing an application based on MSDK v5 sample for controlling DJI Mini 3 and Mini 3 Pro drones. Currently our application uses MSDK v5.9.0 and we want to update it to MSDK v5.14.0 to add support of DJI Mini 4 Pro drones and other features and bug fixes.
What is a correct way of migrating of the existing application to a new version of MSDK? Is there any manual for this?
Thank you
-
It seems we could successfully update the application from MSDK v5.9.0 to 5.14.0
If somebody will meet similar problem - what I did:
1. Changed version in dependencies.gradle file and synced project with gradles:
deps.aircraft = "com.dji:dji-sdk-v5-aircraft:5.14.0"
deps.aircraftProvided = "com.dji:dji-sdk-v5-aircraft-provided:5.14.0"
deps.networkImp = "com.dji:dji-sdk-v5-networkImp:5.14.0"deps.maplibreTurf = 'org.maplibre.gl:android-sdk-turf:5.9.1'
2. In DJIAircraftApplication.kt replaced
com.secneo.sdk.Helper.install(this)
by
com.cySdkyc.clx.Helper.install(this)
3. In DJIRTKBaseStationConnectInfo.kt and one another file added 4-th parameter in call:
RTKStationInfo(baseStationId, signalLevel, rtkStationName, BaseStationDeviceType.BS_RTK2)
Generally, after syncing gradles tried to build the project and after appearing compile errors, checked what was changed in the problematic file in the latest version of the DJI sample application for MSDK.
请先登录再写评论。
评论
1 条评论