首页 / 浏览问题 / 移动GIS / 问题详情
SO文件找不到
34EXP 2023年11月23日
运行supermap-imobile-11.1.1 范例程序 arpipe 时报以下错误:

2023-11-23 13:17:18.714 9235-9435/com.supermap.extensionGPS E/AwareLog: AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@446168c
2023-11-23 13:17:19.293 9235-9472/com.supermap.extensionGPS E/LogInfoService: Get VideoList Request Failed....
2023-11-23 13:17:19.425 9235-9235/com.supermap.extensionGPS E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.supermap.extensionGPS, PID: 9235
    java.lang.UnsatisfiedLinkError: dlopen failed: library "libhuawei_arengine_jni.so" not found
        at java.lang.Runtime.loadLibrary0(Runtime.java:1077)
        at java.lang.Runtime.loadLibrary0(Runtime.java:998)
        at java.lang.System.loadLibrary(System.java:1657)
        at com.supermap.realspace.ARControl.<init>(ARControl.java:45)
        at com.supermap.extension.MainActivityQR.initSceneControlView(MainActivityQR.java:119)
        at com.supermap.extension.MainActivityQR.onCreate(MainActivityQR.java:109)
        at android.app.Activity.performCreate(Activity.java:8488)
        at android.app.Activity.performCreate(Activity.java:8461)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1343)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4602)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4842)
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:113)
        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:2928)
        at android.os.Handler.dispatchMessage(Handler.java:117)
        at android.os.Looper.loopOnce(Looper.java:205)
        at android.os.Looper.loop(Looper.java:293)
        at android.app.ActivityThread.main(ActivityThread.java:9596)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:586)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1204)

1个回答

您好,应该去build.gradle中找到添加依赖的地方,删除未使用依赖的引入声明,最新版本已经不使用libarcore_sdk_jni.so,三维ar核心依赖有com.supermap.realspace_v1111.jar,sceneform-sm-11.1.0.aar,再加上其他运行核心依赖即可
3,690EXP 2023年11月23日
...