问题描述
- Arcgis for Android 开发遇到问题,求帮忙解决
-
Arcgis for Android 开发遇到了at com.esri.android.map.MapView.(Unknown Source),怎么解决
Layout
android:id="@+id/secondmapview"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >Activity
com.esri.android.map.MapView esrimapview;
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.second);
esrimapview = (com.esri.android.map.MapView) findViewById(R.id.secondmapview);
String url = "http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer";
ArcGISTiledMapServiceLayer arcGISTiledMapServiceLayer = new ArcGISTiledMapServiceLayer(url);
esrimapview.addLayer(arcGISTiledMapServiceLayer);
}
解决方案
id to load is required for loading 对Struts,Hibernate,Spring整合开发中遇到问题
微信支付 for android 集成笔记( 集成遇到问题记录)
Arcgis api for android V2.0模拟器调试问题
解决方案二:
你的包导了吗?
参考:http://www.2cto.com/kf/201310/251175.html
解决方案三:
应该是view加载出错,打断点排查下···