imoblie许可问题

0 投票
我今天刚下的imobile许可文件,并已上传到genymotion的虚拟设备上,但运行程序后Android studio提示我:

FATAL EXCEPTION: main
                                                                              java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.administrator.try2/com.example.administrator.try2.MainActivity}: java.lang.IllegalStateException: LicenseStatus[
                                                                              Status = License is not exsit
                                                                              Type = Formal License
                                                                              Version = 0
                                                                              SartDate = 2016-10-26
                                                                              ExpireDate = 2016-10-26
                                                                              ]

请问如何解决
10月 26, 2016 分类:  1360次浏览 | 用户: watson (3 分)

1个回答

0 投票
1.请检查工程里初始化许可路径是否与机器里的许可路径一致。2.设置虚拟设备的时间为网络获取时间。3.代码里先初始化许可和环境,再设置布局内容。

         Environment.setLicensePath(sdcard + "/SuperMap/license/");
        Environment.initialization(this);
        setContentView(R.layout.activity_main);
10月 27, 2016 用户: 杨兵 学富五车 (612 分)
可以加好友问一下相关问题吗
我们有专业技术支持QQ400-8900-866,支持电话400-8900-866,以及支持社区。如果问题复杂着急建议拨打支持电话。
...