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

已完成

评论

8 条评论

  • 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
    评论操作 固定链接
  • 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
    评论操作 固定链接
  • 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
    评论操作 固定链接
  • 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
    评论操作 固定链接
  • 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
    评论操作 固定链接
  • 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
    评论操作 固定链接
  • TaeHyunKim

    I checked the settings and it worked normally. thank you

    0
    评论操作 固定链接
  • DJI Developer Support
    I'm glad to help you.
    0
    评论操作 固定链接

请先登录再写评论。