使用产品:supermap imobile 10.2.0
我按照帮助文档里一步步配置,但是出现了so库和jar包版本不匹配的问题
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.ldcc.supermap_imobile_2d_demo, PID: 19868
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ldcc.supermap_imobile_2d_demo/com.ldcc.supermap_imobile_2d_demo.MainActivity}: java.lang.IllegalArgumentException: so库和jar包版本不匹配
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3498)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3662)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2117)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7866)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:952)
Caused by: java.lang.IllegalArgumentException: so库和jar包版本不匹配
at com.supermap.data.Environment.checkAndLoadLibrary64(Environment.java:1788)
at com.supermap.data.Environment.initialization(Environment.java:584)
at com.ldcc.supermap_imobile_2d_demo.MainActivity.onCreate(MainActivity.java:31)
at android.app.Activity.performCreate(Activity.java:8006)
at android.app.Activity.performCreate(Activity.java:7990)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1317)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3471)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3662)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2117)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7866)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:952)
经过检查,我so库和jar包和教程中的一模一样,许可证也已安装,搜索论坛里回答的方法(卸载重装,检查版本是否一致)解决不了我的问题