ADT Bundle编译应用程序成功但是部署提示Could not find class的解决方法
来源:互联网 发布:手机可以拍淘宝图片吗 编辑:程序博客网 时间:2024/05/17 01:57
环境:
使用的开发环境是 ADT Bundle for Windows 集成开发环境,说白了就是集成了ADT工具的Eclipse
With a single download, the ADT Bundle includes everything you need to begin developing apps:
Eclipse + ADT plugin
Android SDK Tools
Android Platform-tools
The latest Android platform
The latest Android system image for the emulator
版本为Android Developer Tools Build: v22.0.1-685705
问题:
应用程序在Eclipse中编译成功,但是部署到手机运行时,出现错误
08-02 08:30:10.497: E/dalvikvm(1472): Could not find class '[Lorg.apache.commons.httpclient.methods.multipart.Part;',
......
出问题的类所在的jar包是第三方jar包,我把这个jar放到工程根目录下新建的lib目录,然后Add to build path
解决办法:
在网上搜了一些,有文章提到新的ADT环境中,这些第三方jar要放到libs而非lib中
照做,问题顺利解决。
- ADT Bundle编译应用程序成功但是部署提示Could not find class的解决方法
- MyEclipse 下写的类在dos下运行提示:could not find main class的解决方法
- 安装MyEclipse时,双击安装包后出现“could not find main class”的错误提示的解决方法
- could not find class
- could not find class
- Link of class ""failed.Could not find class "" referenced from method的解决方法
- Could not find D:\software\adt-bundle-windows-x86...windows-x86-20140321\sdk\tools\emulator.exe!
- Android开发环境 Could not find SDK folder"F:\经常更新\adt-bundle-windows-x86\sdk"
- adt bundle没有自动代码提示的解决方法
- 【解决方法】Could not find the main class Program will exit
- fatjar导出的jar文件双击执行时提示could not find the main class
- Android ADT升级到22后的bug:Could not find class 'org.apache.commons.httpclient.methods.PostMethod'
- Java中Could not find the main class.program will的解决方法(转)
- Java中Could not find the main class.program will的解决方法
- could not find the main class. program will exit问题的解决方法
- Android项目导入时 Could not find class的可能解决方法
- 运行jar文件时,出现“could not find the main class”的解决方法
- 报错could not find the main class:java.overWrite.overWrite.Program will exit.的解决方法
- Linux内核spin_lock与spin_lock_irq分析
- DNS txt 记录
- 内存分页大小对性能的提升原理
- poj 1654 Area 多边形面积
- [POJ3461] Oulipo[KMP基础]
- ADT Bundle编译应用程序成功但是部署提示Could not find class的解决方法
- Java异常处理
- regsvr32 模块加载失败c:\program
- 疯狂Html之 checkbox
- Notepad 快捷键 大全
- java优化占用内存的方法(一)
- 三星Galaxy Nexus I9250刷官方ROM刷机教程
- iphone中用屏幕中的元素生成缩略图片
- c#中用windows api函数修改内存数据