使用产品 iMobile10D
操作系统 win10 x64
手机操作系统 android 10
按照开发文档进行基于Android studio的二维移动GIS开发时闪退,报错信息如下
2020-05-15 18:22:12.773 5960-5960/? E/mple.tapbarmen: Unknown bits set in runtime_flags: 0x8000
2020-05-15 18:22:12.792 5960-5960/? E/libc: Access denied finding property "runtime.mmitest.isrunning"
2020-05-15 18:22:12.986 5960-6040/com.example.tapbarmenu E/AwareLog: AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@23c59f8
2020-05-15 18:22:12.987 5960-6040/com.example.tapbarmenu E/AwareLog: AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@4ec0ed1
2020-05-15 18:22:15.633 5960-5960/com.example.tapbarmenu E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.tapbarmenu, PID: 5960
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.tapbarmenu/com.example.tapbarmenu.MapDisplayActivity}: java.lang.NullPointerException: Attempt to get length of null array
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3773)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3952)
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:2386)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:213)
at android.app.ActivityThread.main(ActivityThread.java:8169)
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)
Caused by: java.lang.NullPointerException: Attempt to get length of null array
at com.supermap.data.Environment.checkAndLoadLibrary64(Environment.java:1694)
at com.supermap.data.Environment.initialization(Environment.java:582)
at com.example.tapbarmenu.MapDisplayActivity.onCreate(MapDisplayActivity.java:29)
at android.app.Activity.performCreate(Activity.java:8086)
at android.app.Activity.performCreate(Activity.java:8074)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1313)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3746)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3952)
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:2386)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:213)
at android.app.ActivityThread.main(ActivityThread.java:8169)
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)