首页 / 浏览问题 / 移动GIS / 问题详情
UAVSurvey 11i(2022) for Android安装问题
1EXP 2023年04月11日
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.supermap.uavsurvey/com.supermap.uavsurvey.activitys.StartActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.io.FileInputStream.close()' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3802) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3948) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101) 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:2402) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:211) at android.os.Looper.loop(Looper.java:300) at android.app.ActivityThread.main(ActivityThread.java:8143) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.io.FileInputStream.close()' on a null object reference at com.supermap.data.Environment.readFile(Environment.java:2310) at com.supermap.data.Environment.checkDevice_New(Environment.java:828) at com.supermap.data.Environment.initialization(Environment.java:630) at com.supermap.uavsurvey.activitys.StartActivity.onCreate(StartActivity.java:37) at android.app.Activity.performCreate(Activity.java:8508) at android.app.Activity.performCreate(Activity.java:8472) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1417) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3783) ... 12 more

1个回答

您好,根据提示这是app没有读取,请确认是否给了app读取权限
3,665EXP 2023年04月11日
确认已经给了权限
对安卓版本有要求吗,推荐用什么品牌型号的移动终端
去官网申请一份11i试用许可替换手机目录下UAVServey/license下面的旧许可
...