UgCS for DJI 2.13 permission error

Hi!

UgCS for DJI app previously worked fine for me. However, I've now done a new install on a new phone (and tablet) and I can't seem to get past the initial "Checking permissions". App always returns "Permission check failure, SDK error, please contact dev(at)dji.com for help". This happens on both my Samsung J7 phone and Samsung Galaxy Tab S2 tablet. I've tried everything I could come up with:

  • Deinstall all other drone related apps (Litchi, Pix4d, Precisionhawk, DJI GO...)
  • Reinstall DJI GO
  • Manually add all permissions for UgCS for DJI
  • Start UgCS without connected drone
  • Start UgCS by connecting the controller and selecting UgCS as the app
  • ...

The phone has Internet access through my mobile network, while the tablet has Internet access through the phone tethering (WiFi). 

Here are some excerpts from the log files:

14:53:57.282 I/DjiSharedApp : Phone information: manufacturer(samsung), model(SM-J730F), version(24), release(7.0), totalMemory(2953363456)
14:53:57.287 I/DjiSharedVsmAppMainServiceImpl : DjiVsmAppMainServiceImpl->onCreate
14:53:57.403 I/GprController : GprController created
14:53:57.433 I/MediaStreamerContainer : initializing mstreamer...
14:53:57.478 I/WithAppMainServiceActivity : (DjiSelectDroneTypeActivity) onServiceConnected, name = ComponentInfo{com.ugcs.android.vsm.dji/com.ugcs.android.vsm.dji.service.DjiVsmAppMainServiceImpl}
14:53:57.621 I/DroneBridge : DJISDKManager -> registerApp...
14:53:57.623 I/DroneBridge : DJISDKManager -> SDK VERSION = 4.6
14:53:57.633 I/BaseActivityVsm : tearDownKeyListeners... (isLandingConfirmationNeeded)
14:53:57.634 W/BaseActivityVsm : KeyManager == NULL
14:53:57.640 I/UsbAccessorManager : No usb accessors found.
14:53:57.641 I/DjiSharedVsmAppMainServiceImpl : Usb disconnected.
14:53:59.586 I/DroneBridge : DJISDKManager -> onRegister ERROR = SDK error, please contact <dev@dji.com> for help. (SDK error, please contact <dev@dji.com> for help.)
14:53:59.588 E/DjiSharedSelectDroneTypeActivity : Starting PermissionActivity (fromEventFilter)
14:53:59.608 I/BaseActivityVsm : tearDownKeyListeners... (isLandingConfirmationNeeded)
14:53:59.750 I/WithAppMainServiceActivity : (DjiPermissionCheckFailureActivity) onServiceConnected, name = ComponentInfo{com.ugcs.android.vsm.dji/com.ugcs.android.vsm.dji.service.DjiVsmAppMainServiceImpl}
14:54:00.467 I/VsmToUcsConnectorBase : UCS connector started on 192.168.43.1:54322
14:54:00.469 I/RetryConnector : stopDirect - network connector is NULL - nothing to stop.
14:54:00.469 I/RetryConnector : stopDirect - network connector is NULL - nothing to stop.
14:54:01.362 I/DjiSharedVsmAppMainServiceImpl : DjiVsmAppMainServiceImpl->onDestroy
14:54:01.363 I/DroneBridge : tearDownKeyListeners... (ALL)
14:54:01.368 I/DroneBridge : DJISDKManager.getInstance().stopConnectionToProduct -> NullPointer again
14:54:01.370 I/VsmToUcsConnectorBase : UCS connector stopped.
14:54:01.371 I/RetryConnector : stopDirect - network connector is NULL - nothing to stop.

-----

14:36:59.137 I/DjiSharedApp : Phone information: manufacturer(samsung), model(SM-J730F), version(24), release(7.0), totalMemory(2953363456)
14:36:59.143 I/DjiSharedVsmAppMainServiceImpl : DjiVsmAppMainServiceImpl->onCreate
14:36:59.252 I/GprController : GprController created
14:36:59.283 I/MediaStreamerContainer : initializing mstreamer...
14:36:59.323 I/BaseActivityVsm : tearDownKeyListeners... (isLandingConfirmationNeeded)
14:36:59.324 W/BaseActivityVsm : KeyManager == NULL
14:36:59.330 I/WithAppMainServiceActivity : (DjiSelectDroneTypeActivity) onServiceConnected, name = ComponentInfo{com.ugcs.android.vsm.dji/com.ugcs.android.vsm.dji.service.DjiVsmAppMainServiceImpl}
14:36:59.392 I/DroneBridge : DJISDKManager -> registerApp...
14:36:59.395 I/DroneBridge : DJISDKManager -> SDK VERSION = 4.6
14:36:59.417 I/UsbAccessorManager : Work with usb UsbAccessory[mManufacturer=DJI, mModel=T600, mDescription=DJI Inspire 1, mVersion=v0.0.0.0, mUri=www.dji.com, mSerial=000000000000000].
14:36:59.420 I/DjiSharedVsmAppMainServiceImpl : Usb connected.
14:37:01.382 I/DroneBridge : DJISDKManager -> onRegister ERROR = SDK error, please contact <dev@dji.com> for help. (SDK error, please contact <dev@dji.com> for help.)
14:37:01.384 E/DjiSharedSelectDroneTypeActivity : Starting PermissionActivity (fromEventFilter)
14:37:01.423 I/BaseActivityVsm : tearDownKeyListeners... (isLandingConfirmationNeeded)
14:37:01.592 I/WithAppMainServiceActivity : (DjiPermissionCheckFailureActivity) onServiceConnected, name = ComponentInfo{com.ugcs.android.vsm.dji/com.ugcs.android.vsm.dji.service.DjiVsmAppMainServiceImpl}
14:37:02.306 I/VsmToUcsConnectorBase : UCS connector started on 192.168.43.1:54322
14:37:02.308 I/RetryConnector : stopDirect - network connector is NULL - nothing to stop.
14:37:02.309 I/RetryConnector : stopDirect - network connector is NULL - nothing to stop.
14:37:03.262 I/DjiSharedVsmAppMainServiceImpl : DjiVsmAppMainServiceImpl->onDestroy
14:37:03.263 I/DroneBridge : tearDownKeyListeners... (ALL)
14:37:03.265 I/DroneBridge : DJISDKManager.getInstance().stopConnectionToProduct -> NullPointer again
14:37:03.267 I/VsmToUcsConnectorBase : UCS connector stopped.
14:37:03.268 I/RetryConnector : stopDirect - network connector is NULL - nothing to stop.

Any ideas why I can't seem to start the newly installed app on either of these devices?

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Hello Dalibor,

    The problem is fixed now. You can try again to launch UgCS for DJI  mobile application. 

This reply was deleted.