KSOP2 Librarary类未发现异常 [英] KSOP2 Librarary class not found exception

查看:258
本文介绍了KSOP2 Librarary类未发现异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用KSOP2在我的项目和它的工作这些天。最近我买了一台新机器,并动了我的项目,新机器和进口的KSOAP库项目等等等等,当我尝试运行该应用程序我得到以下的仿真器误差

I've used KSOP2 in my project and it worked all these days. Recently I bought a new machine and moved my project to new machine and imported the ksoap library to project etc etc and when I try to run the application I get following error in the emulator

Caused by: java.lang.NoClassDefFoundError: org.ksoap2.serialization.SoapObject

这是在哪里抛出异常的地方。

this is the place where exception is thrown.

 SoapObject request = new SoapObject(namesapce, methodname);

已经是是与64位机?

has is something to do with 64 bit machines??

怎么来了,是所有工作这几天停止了工作,突然的应用程序?可有人开导我请。我坚持这一点。感谢您的时间提前。

How come the app that worked all these days stopped working all of a sudden?? Can someone enlighten me please. I'm stuck with this. Thanks for your time in advance.

推荐答案

我设法

  1. 在项目中创建文件夹库
  2. 复制外部罐到文件夹
  3. 刷新该文件夹
  4. 进入属性 - >构建路径 - >添加罐(不是外部JAR)
  5. 清洁项目
  6. 重启Eclipse

轰它为我工作。希望这会帮助别人了。

Boom it worked for me. Hope it'll help others too.

这篇关于KSOP2 Librarary类未发现异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆