[MDK 5.9.0] An error occurred when executing the MSDK 5.9.0 sample source.

Completed

Comments

8 comments

  • DJI Developer Support
    Have you made any changes to the code of the sample? For example, have you modified the TargetSDKVersion or any other content?
    0
    Comment actions Permalink
  • TaeHyunKim

    No, it is the same as the sample code.

    However, the first build was successful,

    com.secneo.sdk.Helper.install(this)
    An error occurred when adding the empty space below

    Version 5.8.0 had no errors and no problems. Problem occurred starting from 5.9.0

    success

     

    failed

     

    No errors occur in the RC plus controller.
    RC plus controller Android version is 10.

    0
    Comment actions Permalink
  • yating.liao

    I think you can try clearing the project cache before attempting to compile again. I followed the method you provided and was unable to reproduce this issue.

    0
    Comment actions Permalink
  • TaeHyunKim

    As I said in my article, the problem does not occur with the RC plus controller.

    A problem occurs when building on a Samsung Galaxy mobile.
    Mobile model: Galaxy Tab S6
    Android version: 12

     

    The Galaxy Mobile Android 10 version is built normally.
    Mobile Model: Galaxy Tab S4
    Android version: 10

    Expected to be a problem with Android version


    So, the code added in versions after 5.9.0 is suspected.

    com.google.android.art

    0
    Comment actions Permalink
  • DJI Developer Support
    The implementation of getPackageInfo should be correct. I currently do not have an Android 12 device. Please wait for some time as I will conduct further testing on an Android 12 device.
    0
    Comment actions Permalink
  • yating.liao

    Could you tell us if you were using Android Studio to install this application when you encountered this issue? If so, you can try checking this option.

    0
    Comment actions Permalink
  • TaeHyunKim

    I checked the settings and it worked normally. thank you

    0
    Comment actions Permalink
  • DJI Developer Support
    I'm glad to help you.
    0
    Comment actions Permalink

Please sign in to leave a comment.