SDK Sample code compile error

Comments

8 comments

  • DJI Developer Support
    You can try adding 'android.nonTransitiveRClass = false' to your gradle.properties file to resolve this issue.
    0
    Comment actions Permalink
  • EDZOA BADOUANA Cédric

    Hi, 

    I have the same issue. I tried adding the configuration you provide but it doesn't resolve my issue

    0
    Comment actions Permalink
  • Amitai Fensterheim

    The string values are missing... Should i add the values? what should they be?

    0
    Comment actions Permalink
  • yating.liao

    These error-causing resources can actually be found within the MSDK.After adding 'android.nonTransitiveRClass = false', you can check if the Gradle version is 7.6.2, and we recommend adjusting your JDK version to 17.

    0
    Comment actions Permalink
  • Amitai Fensterheim

    Hi, 

    After adding 'android.nonTransitiveRClass = false', you can check if the Gradle version is 7.6.2, and we recommend adjusting your JDK version to 17.

    Didn't help, same errors. Any idea?

    I also realized that the Mobile-SDK-Android-V5 project is in a Dev branch in the repo. Does this mean that this demo may be buggy? What is the recommended sample project and tutorial recommended for learning the UXSDK today? Should i be using Android-UXSDKDemo?

    0
    Comment actions Permalink
  • DJI Developer Support
    If you are still encountering this issue, I recommend rebuilding this project. The "dev" is a name, it is indeed the latest sample code branch released by DJI. For UXSDK, the UXSDK of MSDK V5 is an open-source library, and you can see all the code in the sample code. Android-UXSDKDemo is the UXSDK sample code for MSDK V4.
    0
    Comment actions Permalink
  • Amitai Fensterheim

    Rebuilding the project didn't help.. 

    0
    Comment actions Permalink
  • yating.liao

    Could you please send us screenshots of these two configurations?

     

    Could you confirm if you are using a computer system? We have not conducted any testing on the Linux system.

    As a reference, this is the version of Android Studio I am using.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.