環境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目錄下的文件,照做,解決之