FlightLogManager.getInstance().flyClogPath 与 FlightLogManager.getInstance().flightRecordPath获取日志文件报错
CompletedNo implementation found for java.lang.String dji.sdk.flightcontrolcompactlog.FlightControlCompactLog.native_GetFlightControlCompactLogDirPath() (tried Java_dji_sdk_flightcontrolcompactlog_FlightControlCompactLog_native_1GetFlightControlCompactLogDirPath and Java_dji_sdk_flightcontrolcompactlog_FlightControlCompactLog_native_1GetFlightControlCompactLogDirPath__)
at dji.sdk.flightcontrolcompactlog.FlightControlCompactLog.native_GetFlightControlCompactLogDirPath(Native Method)
at dji.sdk.flightcontrolcompactlog.FlightControlCompactLog.getFlightControlCompactLogDirPath(FlightControlCompactLog.java:1)
at dji.v5.manager.aircraft.flightrecord.FlightLogManager.getFlyClogPath(FlightLogManager.java:1)
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__)
at dji.flightrecord.jni.JNIFlightRecord.native_get_flight_record_dir_path(Native Method)
at dji.flightrecord.jni.JNIFlightRecord.getFlightRecordDirPath(JNIFlightRecord.java:1)
at dji.flightrecord.co_a.co_a(DJIFlightRecordManager.java:23)
at dji.v5.manager.aircraft.flightrecord.FlightLogManager.getFlightRecordPath(FlightLogManager.java:1)
-
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.UnsatisfiedLinkErrorNo 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.
Please sign in to leave a comment.
Comments
7 comments