我正在尝试使用jshybugger库(www.jshybugger.com)调试一些javascript,但是,在尝试将dev构建部署到我的设备时,我看到以下错误:
注意:我正在使用eclipse
另外,对于包含jshybugger jar的两个项目,以下是.classpath:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="lib" path="libs/jshybugger-library-4.5.2.jar"/>
<classpathentry exported="true" kind="lib" path="libs/gson-2.2.4.jar"/>
<classpathentry exported="true" kind="lib" path="libs/httpmime-4.1.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/icu4j-4_8_1_1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/signpost-core-1.2.1.1.jar"/>
<classpathentry exported="true" kind="lib" path="libs/android-support-v4.jar"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry exported="true" kind="lib" path="libs/twitter4j-core-3.0.5.jar"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="lib" path="/libs/jshybugger-library-4.5.2.jar"/>
<classpathentry exported="true" kind="lib" path="/libs/urbanairship-lib-2.1.2.jar"/>
<classpathentry kind="src" path="gen"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry exported="true" kind="lib" path="/libs/gson-2.2.4.jar"/>
<classpathentry exported="true" kind="lib" path="/libs/httpmime-4.1.1.jar"/>
<classpathentry exported="true" kind="lib" path="/libs/libGoogleAnalyticsV2.jar"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
如您所见,不包括junit。
最佳答案
我发现其中一个项目包括junit:
所以我点击了“删除”来删除JUnit4。
这导致测试文件夹出错-我删除了那个文件夹!
随后,我可以将项目部署到我的开发设备上。
结论:
在jshybugger删除'license.txt'之前,似乎不可能同时使用junit和jshybugger