SDK:supermap-imobile-10.2.1-228-android-zip-chs
问题:启动运行就立即三退,报错信息如下:
2022-07-21 10:57:27.330 22838-22838/? E/.onemap3d.phon: No implementation found for long com.google.ar.core.Session.nativeGetSymbolTable(long) (tried Java_com_google_ar_core_Session_nativeGetSymbolTable and Java_com_google_ar_core_Session_nativeGetSymbolTable__J)
2022-07-21 10:57:27.332 22838-22838/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.antu.onemap3d.phone, PID: 22838
java.lang.UnsatisfiedLinkError: No implementation found for long com.google.ar.core.Session.nativeGetSymbolTable(long) (tried Java_com_google_ar_core_Session_nativeGetSymbolTable and Java_com_google_ar_core_Session_nativeGetSymbolTable__J)
at com.google.ar.core.Session.nativeGetSymbolTable(Native Method)
at com.google.ar.core.Session.<init>(Session.java:15)
at com.google.ar.core.Session.<init>(Session.java:1)
at com.supermap.realspace.SceneControl.initSession(SceneControl.java:890)
at com.supermap.realspace.ARControl.<init>(ARControl.java:44)
at com.antu.onemap3d.phone.armap.AR3DActivity.onCreate(AR3DActivity.java:99)
at android.app.Activity.performCreate(Activity.java:8214)
at android.app.Activity.performCreate(Activity.java:8202)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1320)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4033)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4247)
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:2613)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:219)
at android.app.ActivityThread.main(ActivityThread.java:8668)
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:1109)
引用包:
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation fileTree(dir: 'libs', include: ['*.aar'])
implementation 'pub.devrel:easypermissions:2.0.1'
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.multidex:multidex:2.0.1'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
api 'com.google.ar:core:1.32.0'
api 'com.google.android.filament:filament-android:1.7.0'
api 'com.google.android.filament:gltfio-android:1.7.0'
api 'com.google.android.filament:filament-utils-android:1.9.25'