摘要: 错误信息 最近在学Android使用KSOAP2调用现有的Webservice的方法,期间在网上找了很多代码,但是每次在Android模拟器中运行的时候程序都会崩溃,搞得自己都快崩溃了。。。。 查看了一下LogCat中的错误报告,发现是因为java.lang.NoClassDefFoundError导致程序崩溃的。 找了很多资料,最后才发现是jar包的导入有问题。。。。以前开发java程序时导入jar包都是用一下的方法: 工程点击右键->Build Path->Add Libraries->User Library->选择包含需要的jar包的Library 阅读全文
posted @ 2012-09-04 14:30 少爷太皮 阅读(473) 评论(0) 推荐(0)
摘要: The build target, however, needs to be updated to at least API Level 8 (Android 2.2), otherwise you’ll get the following error:error: No resource identifier found for attribute ‘installLocation’ in package ‘android’Change the build target by editing the project properties (right-click on the project 阅读全文
posted @ 2012-08-30 10:31 少爷太皮 阅读(594) 评论(0) 推荐(0)
摘要: 分享失败!:applications over the unaudited use restrictions,“应用程序在未经审计的使用限制”。微博分享程序开发者申请的APPkey里面没有现在正在登陆者的权限,所以会报“分享失败”的错误,可以在开发者的网站里添加一个登陆人账号,这样就有权利了。 阅读全文
posted @ 2012-08-16 10:22 少爷太皮 阅读(853) 评论(0) 推荐(0)
摘要: public class TextSwitcher extends Activity implements ViewSwitcher.ViewFactory{@Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); this.setContentView(R.layout.textswitcher); setTitle("TextSwitcher"); TextSwi 阅读全文
posted @ 2012-08-08 11:26 少爷太皮 阅读(290) 评论(0) 推荐(0)