网上很多讨论的文章,照做了好几次还是不行。.classpath除了改成相对路径。
都是忽略了 要把exported="true"。 也可以在JavaBuildPath的最后一个Tab->Order and Export里把要的jar勾上。
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry exported="true" kind="lib" path="lib/ksoap2.jar"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>