MSDK5 get error when adding uxsdk module

Completed

Comments

5 comments

  • DJI Developer Support
    You need to delete the properties that related to the Sample such as deps. You need to make the UXSDK decoupling with the Sample.
    1
    Comment actions Permalink
  • LeoMrn

    Thanks a lot! It solved all build gradle problems, but I still have an error when I build: do you know how to fix this one ?

    > Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
       > Could not find com.commonsware.cwac:saferoom.x:1.3.0.

    Thanks by advance

    0
    Comment actions Permalink
  • DJI Developer Support
    Are you using 5.0.0? Please using 5.2.0.
    0
    Comment actions Permalink
  • LeoMrn

    Sorry for the delayed response, I am using the 5.2.0 since 2 weeks, I don't know what the problem is, maybe because of using Android Studio ?

    0
    Comment actions Permalink
  • DJI Developer Support
    It means you are lacking lib com.commonsware.cwac:saferoom.x:1.3.0, try implement it by yourself in your build.gradle file.
    0
    Comment actions Permalink

Please sign in to leave a comment.