imobile安装App后打开场景闪退且许可不存在

0 投票

使用产品:imobile 9D 911 操作系统:win10 家庭版
数据类型: 三维数据
问题详细描述:配置许可文件后可以运行,但是打开场景时显示许可不存在,许可为3.22号申请
日志情况如下

3月 27 分类:  124次浏览 | 用户: 武者小路 (2 分)

1个回答

0 投票
你好,开发的app能否读取到设备的内存?是在打开场景后提示许可不存在其他工程能正常运行吗
3月 27 用户: 董懿鑫 名扬四海 (2,746 分)

您好!我的APP打开的时候闪退,出现这个日志,请您帮忙看下,谢谢!

2019-03-27 14:20:18.083 12698-12698/? E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.example.display3dmodel, PID: 12698
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.display3dmodel/com.example.display3dmodel.MainActivity}: java.lang.SecurityException: getDeviceId
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2946)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3081)
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1831)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:201)
        at android.app.ActivityThread.main(ActivityThread.java:6811)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
     Caused by: java.lang.SecurityException: getDeviceId
        at android.os.Parcel.createException(Parcel.java:1953)
        at android.os.Parcel.readException(Parcel.java:1921)
        at android.os.Parcel.readException(Parcel.java:1871)
        at com.android.internal.telephony.ITelephony$Stub$Proxy.getDeviceId(ITelephony.java:5427)
        at android.telephony.TelephonyManager.getDeviceId(TelephonyManager.java:1224)
        at com.supermap.data.Environment.checkDevice_New(Environment.java:800)
        at com.supermap.data.Environment.initialization(Environment.java:615)
        at com.example.display3dmodel.MainActivity.onCreate(MainActivity.java:22)
        at android.app.Activity.performCreate(Activity.java:7224)
        at android.app.Activity.performCreate(Activity.java:7213)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2926)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3081) 
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78) 
        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108) 
        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68) 
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1831) 
        at android.os.Handler.dispatchMessage(Handler.java:106) 
        at android.os.Looper.loop(Looper.java:201) 
        at android.app.ActivityThread.main(ActivityThread.java:6811) 
        at java.lang.reflect.Method.invoke(Native Method) 
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547) 
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873) 

...