解決ArcGIS Android Could not find class 'com.esri.android.map.MapView'問題


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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM