标签:
环境win7 64bit sp1,eclipse 4.2.1 ,android API 16,ADT 23.0.2,arcgis android sdk 10.2.4
从arcgis-android-sdk-v10.2.4包里取出其中的例子helloworld,作为项目import进去
1.Class referenced in the layout file, com.esri.android.map.MapView
lint之后,在main.xml报Class referenced in the layout file, com.esri.android.map.MapView, was not found in the project or the libraries
网上搜了下,有人说是误报,于是clear Lint Warning,编译通过
2.java.lang.NoClassDefFoundError: com.esri.android.map.MapView
运行起来,程序启动时就报错java.lang.NoClassDefFoundError: com.esri.android.map.MapView
或者02-24 18:07:40.286: E/dalvikvm(20969): Could not find class ‘com.esri.android.map.MapView‘, referenced from method com.esri.arcgis.android.samples.helloworld.HelloWorld.onCreate
网上找到其他解决办法,不过对我的情况都没帮助
http://www.cnblogs.com/wangcan/p/3432655.html
最后在某个地方看到,要手动删除bin目录下的文件,照做,解决之
解决ArcGIS Android Could not find class 'com.esri.android.map.MapView'问题
标签:
原文地址:http://www.cnblogs.com/cannel/p/4298959.html