android studio报错:引入大疆sdk,在真机上允许一闪而过,Logcat报错:Lcom/secneo/sdk/Helper;

引入大疆sdk,编译后在真机上,真机一闪而过。在logcat中可以看到报错如下:
2021-06-28 17:02:57.300 11115-11115/com.bhqd.groundstation E/zygote64: ----- class 'Lcom/secneo/sdk/Helper;' cl=0x12c521e0 -----
2021-06-28 17:02:57.300 11115-11115/com.bhqd.groundstation E/zygote64:   objectSize=232 (224 from super)
2021-06-28 17:02:57.300 11115-11115/com.bhqd.groundstation E/zygote64:   access=0x0008.0001
2021-06-28 17:02:57.300 11115-11115/com.bhqd.groundstation E/zygote64:   super='java.lang.Class<java.lang.Object>' (cl=0x0)
2021-06-28 17:02:57.300 11115-11115/com.bhqd.groundstation E/zygote64:   vtable (0 entries, 11 in super):
2021-06-28 17:02:57.300 11115-11115/com.bhqd.groundstation E/zygote64:   direct methods (2 entries):
2021-06-28 17:02:57.300 11115-11115/com.bhqd.groundstation E/zygote64:      0: void com.secneo.sdk.Helper.<clinit>()
2021-06-28 17:02:57.300 11115-11115/com.bhqd.groundstation E/zygote64:      1: void com.secneo.sdk.Helper.a(android.app.Application)
2021-06-28 17:02:57.300 11115-11115/com.bhqd.groundstation E/zygote64:   static fields (2 entries):
2021-06-28 17:02:57.300 11115-11115/com.bhqd.groundstation E/zygote64:      0: java.lang.String com.secneo.sdk.Helper.a
2021-06-28 17:02:57.300 11115-11115/com.bhqd.groundstation E/zygote64:      1: java.lang.String com.secneo.sdk.Helper.b
2021-06-28 17:02:57.300 11115-11115/com.bhqd.groundstation E/zygote64: Failed to register native method com.secneo.sdk.Helper.attach(Landroid/app/Application;Landroid/content/Context;)V in /data/app/com.bhqd.groundstation-UXpXvd7ppqw_wCTGJg-uSw==/base.apk
2021-06-28 17:02:57.301 11115-11115/com.bhqd.groundstation A/zygote64: thread.cc:2071] No pending exception expected: java.lang.NoSuchMethodError: no static or non-static method "Lcom/secneo/sdk/Helper;.attach(Landroid/app/Application;Landroid/content/Context;)V"
2021-06-28 17:02:57.301 11115-11115/com.bhqd.groundstation A/zygote64: thread.cc:2071]   at java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader, java.lang.String) (Runtime.java:-2)
2021-06-28 17:02:57.301 11115-11115/com.bhqd.groundstation A/zygote64: thread.cc:2071]   at java.lang.String java.lang.Runtime.doLoad(java.lang.String, java.lang.ClassLoader) (Runtime.java:1099)
2021-06-28 17:02:57.301 11115-11115/com.bhqd.groundstation A/zygote64: thread.cc:2071]   at void java.lang.Runtime.loadLibrary0(java.lang.ClassLoader, java.lang.String) (Runtime.java:1014)
2021-06-28 17:02:57.301 11115-11115/com.bhqd.groundstation A/zygote64: thread.cc:2071]   at void java.lang.System.loadLibrary(java.lang.String) (System.java:1660)
2021-06-28 17:02:57.301 11115-11115/com.bhqd.groundstation A/zygote64: thread.cc:2071]   at void com.secneo.sdk.Helper.a(android.app.Application) (:41)
2021-06-28 17:02:57.301 11115-11115/com.bhqd.groundstation A/zygote64: thread.cc:2071]   at void com.bhqd.groundstation.MApplication.attachBaseContext(android.content.Context) (:11)
2021-06-28 17:02:57.301 11115-11115/com.bhqd.groundstation A/zygote64: thread.cc:2071]   at void android.app.Application.attach(android.content.Context) (Application.java:195)
2021-06-28 17:02:57.301 11115-11115/com.bhqd.groundstation A/zygote64: thread.cc:2071]   at android.app.Application android.app.Instrumentation.newApplication(java.lang.Class, android.content.Context) (Instrumentation.java:1105)
2021-06-28 17:02:57.301 11115-11115/com.bhqd.groundstation A/zygote64: thread.cc:2071]   at android.app.Application android.app.Instrumentation.newApplication(java.lang.ClassLoader, java.lang.String, android.content.Context) (Instrumentation.java:1089)
2021-06-28 17:02:57.301 11115-11115/com.bhqd.groundstation A/zygote64: thread.cc:2071]   at android.app.Application android.app.LoadedApk.makeApplication(boolean, android.app.Instrumentation) (LoadedApk.java:1036)
2021-06-28 17:02:57.301 11115-11115/com.bhqd.groundstation A/zygote64: thread.cc:2071]   at void android.app.ActivityThread.handleBindApplication(android.app.ActivityThread$AppBindData) (ActivityThread.java:6491)
2021-06-28 17:02:57.301 11115-11115/com.bhqd.groundstation A/zygote64: thread.cc:2071]   at void android.app.ActivityThread.-wrap2(android.app.ActivityThread, android.app.ActivityThread$AppBindData) (ActivityThread.java:-1)
2021-06-28 17:02:57.301 11115-11115/com.bhqd.groundstation A/zygote64: thread.cc:2071]   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1963)
2021-06-28 17:02:57.301 11115-11115/com.bhqd.groundstation A/zygote64: thread.cc:2071]   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:108)
2021-06-28 17:02:57.301 11115-11115/com.bhqd.groundstation A/zygote64: thread.cc:2071]   at void android.os.Looper.loop() (Looper.java:166)
2021-06-28 17:02:57.301 11115-11115/com.bhqd.groundstation A/zygote64: thread.cc:2071]   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7425)
2021-06-28 17:02:57.301 11115-11115/com.bhqd.groundstation A/zygote64: thread.cc:2071]   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2021-06-28 17:02:57.301 11115-11115/com.bhqd.groundstation A/zygote64: thread.cc:2071]   at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:245)
2021-06-28 17:02:57.301 11115-11115/com.bhqd.groundstation A/zygote64: thread.cc:2071]   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:921)
2021-06-28 17:02:57.301 11115-11115/com.bhqd.groundstation A/zygote64: thread.cc:2071] 
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495] Runtime aborting...
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495] Aborting thread:
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495] "main" prio=10 tid=1 Runnable
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   | group="" sCount=0 dsCount=0 flags=0 obj=0x73fd4bb0 self=0x7988aa3a00
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   | sysTid=11115 nice=-10 cgrp=default sched=0/0 handle=0x798da5d9b0
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   | state=R schedstat=( 62068754 1542711 209 ) utm=4 stm=2 core=6 HZ=100
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   | stack=0x7fe5e1f000-0x7fe5e21000 stackSize=8MB
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   | held mutexes= "abort lock" "mutator lock"(shared held)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #00 pc 0000000000398598  /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+212)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #01 pc 000000000045f284  /system/lib64/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMapb+348)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #02 pc 00000000004467fc  /system/lib64/libart.so (_ZNK3art10AbortState10DumpThreadERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEPNS_6ThreadE+56)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #03 pc 0000000000446614  /system/lib64/libart.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+456)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #04 pc 0000000000437f68  /system/lib64/libart.so (_ZN3art7Runtime5AbortEPKc+172)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #05 pc 00000000004387dc  /system/lib64/libart.so (_ZN3art7Runtime7AborterEPKc+24)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #06 pc 0000000000523e58  /system/lib64/libart.so (_ZN7android4base10LogMessageD1Ev+900)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #07 pc 0000000000463bd4  /system/lib64/libart.so (_ZNK3art6Thread24AssertNoPendingExceptionEv+1144)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #08 pc 0000000000127e88  /system/lib64/libart.so (_ZN3art11ClassLinker9FindClassEPNS_6ThreadEPKcNS_6HandleINS_6mirror11ClassLoaderEEE+64)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #09 pc 000000000031101c  /system/lib64/libart.so (_ZN3art3JNI9FindClassEP7_JNIEnvPKc+1432)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #10 pc 0000000000016948  /data/app/com.bhqd.groundstation-UXpXvd7ppqw_wCTGJg-uSw==/lib/arm64/libDexHelper_sdk.so (???)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #11 pc 000000000001be44  /data/app/com.bhqd.groundstation-UXpXvd7ppqw_wCTGJg-uSw==/lib/arm64/libDexHelper_sdk.so (JNI_OnLoad+14748)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #12 pc 00000000002d83d4  /system/lib64/libart.so (_ZN3art9JavaVMExt17LoadNativeLibraryEP7_JNIEnvRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEP8_jobjectP8_jstringPS9_+2204)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #13 pc 00000000000041d4  /system/lib64/libopenjdkjvm.so (JVM_NativeLoad+276)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #14 pc 00000000000aca04  /system/framework/arm64/boot.oat (Java_java_lang_Runtime_nativeLoad__Ljava_lang_String_2Ljava_lang_ClassLoader_2Ljava_lang_String_2+228)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at java.lang.Runtime.nativeLoad(Native method)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at java.lang.Runtime.doLoad(Runtime.java:1099)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   - locked <0x073fe044> (a java.lang.Runtime)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at java.lang.Runtime.loadLibrary0(Runtime.java:1014)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   - locked <0x073fe044> (a java.lang.Runtime)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at java.lang.System.loadLibrary(System.java:1660)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at com.secneo.sdk.Helper.a(:41)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at com.bhqd.groundstation.MApplication.attachBaseContext(:11)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.app.Application.attach(Application.java:195)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.app.Instrumentation.newApplication(Instrumentation.java:1105)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.app.Instrumentation.newApplication(Instrumentation.java:1089)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.app.LoadedApk.makeApplication(LoadedApk.java:1036)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6491)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.app.ActivityThread.-wrap2(ActivityThread.java:-1)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1963)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.os.Handler.dispatchMessage(Handler.java:108)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.os.Looper.loop(Looper.java:166)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.app.ActivityThread.main(ActivityThread.java:7425)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at java.lang.reflect.Method.invoke(Native method)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495] Pending exception java.lang.NoSuchMethodError: no static or non-static method "Lcom/secneo/sdk/Helper;.attach(Landroid/app/Application;Landroid/content/Context;)V"
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader, java.lang.String) (Runtime.java:-2)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at java.lang.String java.lang.Runtime.doLoad(java.lang.String, java.lang.ClassLoader) (Runtime.java:1099)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at void java.lang.Runtime.loadLibrary0(java.lang.ClassLoader, java.lang.String) (Runtime.java:1014)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at void java.lang.System.loadLibrary(java.lang.String) (System.java:1660)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at void com.secneo.sdk.Helper.a(android.app.Application) (:41)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at void com.bhqd.groundstation.MApplication.attachBaseContext(android.content.Context) (:11)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at void android.app.Application.attach(android.content.Context) (Application.java:195)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.app.Application android.app.Instrumentation.newApplication(java.lang.Class, android.content.Context) (Instrumentation.java:1105)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.app.Application android.app.Instrumentation.newApplication(java.lang.ClassLoader, java.lang.String, android.content.Context) (Instrumentation.java:1089)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.app.Application android.app.LoadedApk.makeApplication(boolean, android.app.Instrumentation) (LoadedApk.java:1036)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at void android.app.ActivityThread.handleBindApplication(android.app.ActivityThread$AppBindData) (ActivityThread.java:6491)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at void android.app.ActivityThread.-wrap2(android.app.ActivityThread, android.app.ActivityThread$AppBindData) (ActivityThread.java:-1)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1963)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:108)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at void android.os.Looper.loop() (Looper.java:166)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7425)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:245)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:921)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495] Dumping all threads without appropriate locks held: thread list lock
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495] All threads:
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495] DALVIK THREADS (11):
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495] "main" prio=10 tid=1 Runnable
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   | group="" sCount=0 dsCount=0 flags=0 obj=0x73fd4bb0 self=0x7988aa3a00
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   | sysTid=11115 nice=-10 cgrp=default sched=0/0 handle=0x798da5d9b0
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   | state=R schedstat=( 80933859 1542711 213 ) utm=5 stm=2 core=4 HZ=100
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   | stack=0x7fe5e1f000-0x7fe5e21000 stackSize=8MB
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   | held mutexes= "abort lock" "mutator lock"(shared held)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #00 pc 0000000000398598  /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+212)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #01 pc 000000000045f284  /system/lib64/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMapb+348)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #02 pc 0000000000476a58  /system/lib64/libart.so (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+880)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #03 pc 000000000046f434  /system/lib64/libart.so (_ZN3art10ThreadList13RunCheckpointEPNS_7ClosureES2_+476)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #04 pc 000000000046ec4c  /system/lib64/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEb+292)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #05 pc 0000000000446624  /system/lib64/libart.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+472)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #06 pc 0000000000437f68  /system/lib64/libart.so (_ZN3art7Runtime5AbortEPKc+172)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #07 pc 00000000004387dc  /system/lib64/libart.so (_ZN3art7Runtime7AborterEPKc+24)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #08 pc 0000000000523e58  /system/lib64/libart.so (_ZN7android4base10LogMessageD1Ev+900)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #09 pc 0000000000463bd4  /system/lib64/libart.so (_ZNK3art6Thread24AssertNoPendingExceptionEv+1144)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #10 pc 0000000000127e88  /system/lib64/libart.so (_ZN3art11ClassLinker9FindClassEPNS_6ThreadEPKcNS_6HandleINS_6mirror11ClassLoaderEEE+64)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #11 pc 000000000031101c  /system/lib64/libart.so (_ZN3art3JNI9FindClassEP7_JNIEnvPKc+1432)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #12 pc 0000000000016948  /data/app/com.bhqd.groundstation-UXpXvd7ppqw_wCTGJg-uSw==/lib/arm64/libDexHelper_sdk.so (???)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #13 pc 000000000001be44  /data/app/com.bhqd.groundstation-UXpXvd7ppqw_wCTGJg-uSw==/lib/arm64/libDexHelper_sdk.so (JNI_OnLoad+14748)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #14 pc 00000000002d83d4  /system/lib64/libart.so (_ZN3art9JavaVMExt17LoadNativeLibraryEP7_JNIEnvRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEP8_jobjectP8_jstringPS9_+2204)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #15 pc 00000000000041d4  /system/lib64/libopenjdkjvm.so (JVM_NativeLoad+276)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #16 pc 00000000000aca04  /system/framework/arm64/boot.oat (Java_java_lang_Runtime_nativeLoad__Ljava_lang_String_2Ljava_lang_ClassLoader_2Ljava_lang_String_2+228)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at java.lang.Runtime.nativeLoad(Native method)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at java.lang.Runtime.doLoad(Runtime.java:1099)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   - locked <0x073fe044> (a java.lang.Runtime)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at java.lang.Runtime.loadLibrary0(Runtime.java:1014)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   - locked <0x073fe044> (a java.lang.Runtime)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at java.lang.System.loadLibrary(System.java:1660)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at com.secneo.sdk.Helper.a(:41)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at com.bhqd.groundstation.MApplication.attachBaseContext(:11)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.app.Application.attach(Application.java:195)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.app.Instrumentation.newApplication(Instrumentation.java:1105)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.app.Instrumentation.newApplication(Instrumentation.java:1089)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.app.LoadedApk.makeApplication(LoadedApk.java:1036)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6491)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.app.ActivityThread.-wrap2(ActivityThread.java:-1)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1963)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.os.Handler.dispatchMessage(Handler.java:108)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.os.Looper.loop(Looper.java:166)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at android.app.ActivityThread.main(ActivityThread.java:7425)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at java.lang.reflect.Method.invoke(Native method)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495] 
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495] "Jit thread pool worker thread 0" prio=10 tid=2 Native
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   | group="" sCount=1 dsCount=0 flags=1 obj=0x133c0030 self=0x797e495400
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   | sysTid=11120 nice=9 cgrp=default sched=0/0 handle=0x797e3ef4f0
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   | state=S schedstat=( 1020313 340105 5 ) utm=0 stm=0 core=4 HZ=100
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   | stack=0x797e2f1000-0x797e2f3000 stackSize=1021KB
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   | held mutexes=
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   kernel: __switch_to+0xac/0xc4
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   kernel: futex_wait_queue_me+0x100/0x1a0
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   kernel: futex_wait+0x104/0x240
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   kernel: do_futex+0x16c/0x538
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   kernel: SyS_futex+0x128/0x1c0
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   kernel: __sys_trace_return+0x0/0x4
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #00 pc 000000000001da2c  /system/lib64/libc.so (syscall+28)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #01 pc 00000000000e1ee4  /system/lib64/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+152)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #02 pc 0000000000478304  /system/lib64/libart.so (_ZN3art10ThreadPool7GetTaskEPNS_6ThreadE+256)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #03 pc 00000000004778b8  /system/lib64/libart.so (_ZN3art16ThreadPoolWorker3RunEv+124)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #04 pc 0000000000477384  /system/lib64/libart.so (_ZN3art16ThreadPoolWorker8CallbackEPv+144)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #05 pc 0000000000066a20  /system/lib64/libc.so (_ZL15__pthread_startPv+36)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   native: #06 pc 000000000001ee64  /system/lib64/libc.so (__start_thread+68)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   (no managed stack frames)
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495] 
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495] "Signal Catcher" prio=10 tid=3 WaitingInMainSignalCatcherLoop
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   | group="" sCount=1 dsCount=0 flags=1 obj=0x13400020 self=0x7988a5ca00
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   | sysTid=11121 nice=0 cgrp=default sched=0/0 handle=0x796c5a34f0
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   | state=S schedstat=( 115625 16146 3 ) utm=0 stm=0 core=6 HZ=100
2021-06-28 17:02:57.349 11115-11115/com.bhqd.groundstation A/zygote64: runtime.cc:495]   | stack=0






解决办法:

在proguard-rules.pro中添加以下内容,以下内容为从官网hub例子内拷贝而来,具体作用暂不明确。

-keepattributes Exceptions,InnerClasses,*Annotation*,Signature,EnclosingMethod

-dontoptimize
-dontpreverify
-dontwarn okio.**
-dontwarn org.bouncycastle.**
-dontwarn dji.**
-dontwarn com.dji.**
-dontwarn sun.**
-dontwarn java.**
-dontwarn com.amap.api.**
-dontwarn com.here.**
-dontwarn com.mapbox.**
-dontwarn okhttp3.**
-dontwarn retrofit2.**

-keepclassmembers enum * {
    public static <methods>;
}

-keepnames class * implements java.io.Serializable
-keepclassmembers class * implements java.io.Serializable {
    static final long serialVersionUID;
    private static final java.io.ObjectStreamField[] serialPersistentFields;
    !static !transient <fields>;
    private void writeObject(java.io.ObjectOutputStream);
    private void readObject(java.io.ObjectInputStream);
    java.lang.Object writeReplace();
    java.lang.Object readResolve();
}
-keep class * extends android.os.Parcelable {
    public static final android.os.Parcelable$Creator *;
}

-keep,allowshrinking class * extends dji.publics.DJIUI.** {
    public <methods>;
}

-keep class net.sqlcipher.** { *; }

-keep class net.sqlcipher.database.* { *; }

-keep class dji.** { *; }

-keep class com.dji.** { *; }

-keep class com.google.** { *; }

-keep class org.bouncycastle.** { *; }

-keep,allowshrinking class org.** { *; }

-keep class com.squareup.wire.** { *; }

-keep class sun.misc.Unsafe { *; }

-keep class com.secneo.** { *; }

-keep class org.greenrobot.eventbus.**{*;}

-keepclasseswithmembers,allowshrinking class * {
    native <methods>;
}

-keep class * implements com.google.gson.TypeAdapterFactory
-keep class * implements com.google.gson.JsonSerializer
-keep class * implements com.google.gson.JsonDeserializer

-keep class androidx.appcompat.widget.SearchView { *; }

-keepclassmembers class * extends android.app.Service
-keepclassmembers public class * extends android.view.View {
    void set*(***);
    *** get*();
}
-keepclassmembers class * extends android.app.Activity {
    public void *(android.view.View);
}
-keep class androidx.** { *; }
-keep class android.** {*;}
-keep class android.media.** { *; }
-keep class okio.** { *; }
-keep class com.lmax.disruptor.** {
    *;
}

-dontwarn com.mapbox.services.android.location.LostLocationEngine
-dontwarn com.mapbox.services.android.location.MockLocationEngine
-keepclassmembers class * implements android.arch.lifecycle.LifecycleObserver {
    <init>(...);
}
# ViewModel's empty constructor is considered to be unused by proguard
-keepclassmembers class * extends android.arch.lifecycle.ViewModel {
    <init>(...);
}
# keep Lifecycle State and Event enums values
-keepclassmembers class android.arch.lifecycle.Lifecycle$State { *; }
-keepclassmembers class android.arch.lifecycle.Lifecycle$Event { *; }
# keep methods annotated with @OnLifecycleEvent even if they seem to be unused
# (Mostly for LiveData.LifecycleBoundObserver.onStateChange(), but who knows)
-keepclassmembers class * {
    @android.arch.lifecycle.OnLifecycleEvent *;
}

-keepclassmembers class * implements android.arch.lifecycle.LifecycleObserver {
    <init>(...);
}

-keep class * implements android.arch.lifecycle.LifecycleObserver {
    <init>(...);
}
-keepclassmembers class android.arch.** { *; }
-keep class android.arch.** { *; }
-dontwarn android.arch.**
-ignorewarnings
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值