FlightLogManager.getInstance().flyClogPath 与 FlightLogManager.getInstance().flightRecordPath获取日志文件报错

Completed

Comments

7 comments

  • DJI Developer Support
    建议试下我们的sample,有可能是build.gradle的问题。
    0
    Comment actions Permalink
  • luwenming

    不应该啊,其他功能都可以用,就日志报异常

    0
    Comment actions Permalink
  • DJI Developer Support
    麻烦看下示例代码有没有报错。
    0
    Comment actions Permalink
  • DroneControl

    Hello DJI Developer Support!

    We've also seen two crashes related to this (using latest SDK v5.6.0), i.e. calling 

    FlightLogManager.getInstance().flightRecordPath

    resulted in: 

    Caused by java.lang.UnsatisfiedLinkError
    No implementation found for java.lang.String dji.flightrecord.jni.JNIFlightRecord.native_get_flight_record_dir_path() (tried Java_dji_flightrecord_jni_JNIFlightRecord_native_1get_1flight_1record_1dir_1path and Java_dji_flightrecord_jni_JNIFlightRecord_native_1get_1flight_1record_1dir_1path__)
     
     
    This only happened two times for now. Also we make sure that SDKManagerCallback returns with onRegisterSuccess before invoking the FlightLogManager, so it can't be due to SDK not being initialized.
    0
    Comment actions Permalink
  • DJI Developer Support
    Noticed that many developers have encountered this problem. I will contact R&D to confirm the cause of this problem.
    1
    Comment actions Permalink
  • DJI Developer Support
    This issue has been addressed and optimized in version 5.8. I kindly request you to verify if the error still persists in the latest version, 5.8.
    0
    Comment actions Permalink

Please sign in to leave a comment.