java.lang.UnsatisfiedLinkError: No implementation found for long com.supermap.realspace.SceneControlNative.jni_SetDpi(int) (tried Java_com_supermap_realspace_SceneControlNative_jni_1SetDpi and Java_com_supermap_realspace_SceneControlNative_jni_1SetDpi__I)
at com.supermap.realspace.SceneControlNative.jni_SetDpi(Native Method)
at com.supermap.realspace.SceneControl.init(SceneControl.java:147)
at com.supermap.realspace.SceneControl.<init>(SceneControl.java:128)
at com.zelyy.pipeline.activity.air.ArActivity.initView(ArActivity.java:477)
at com.zelyy.pipeline.activity.air.ArActivity.onCreate(ArActivity.java:442)
at android.app.Activity.performCreate(Activity.java:8066)
at android.app.Activity.performCreate(Activity.java:8054)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1313)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3733)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3939)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:91)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2373)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:213)
at android.app.ActivityThread.main(ActivityThread.java:8147)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1101)
1.设置ARActivity的启动模式为singleInstance
2.然后在ARActivity的finish方法中加上这句代码:moveTaskToBack(true); 这代码也已经添加上了