ArcGis Failed to open file. May not be a valid tile package

                              ArcGis Failedto open file. May not be a valid tile package

 

 

在使用ArcGIS的时候遇到一些错误:

官方网站:



https://developers.arcgis.com/android/10-2/

1、Failed to open file. May not be a valid tile package



这个错误出现的原因是离线地图包可能出现问题,换了个其他离线地图包就可以了

离线地图.tpk文件测试:

https://download.csdn.net/download/carlinwxk/9291959

2、在一些手机报MapView xml文件错误:


 Caused by: android.view.InflateException: Binary XML file line #0: Binary XML file line #0: Error inflating class com.esri.android.map.MapView
                                                                                       at android.view.LayoutInflater.inflate(LayoutInflater.java:561)
                                                                                       at android.view.LayoutInflater.inflate(LayoutInflater.java:437)
                                                                                       at android.view.LayoutInflater.inflate(LayoutInflater.java:380)
                                                                                       at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:451)
                                                                                       at android.app.Activity.setContentView(Activity.java:2232)
                                                                                       at com.example.ywx484581.myapplication.ReadSdcardActivity.onCreate(ReadSdcardActivity.java:40)
                                                                                       at android.app.Activity.performCreate(Activity.java:6418)
                                                                                       at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1110)
                                                                                       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2432)

1、  确认下jar包,so包要配套使用

2、  删除所有的包,用新的替换试试

这也只是建议,我这尝试还是会报这个错,如果有解决办法,可以讨论下。


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值