gpt4 book ai didi

android - 生成最终存档时出错 : Found duplicate file for APK: LICENSE. txt

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:04:31 25 4
gpt4 key购买 nike

我正在尝试使用 jsHybugger 库 (www.jshybugger.com) 来调试一些 javascript - 但是 - 在尝试将开发版本部署到我的设备时,我看到以下错误:

Eclipse error

注意:我使用的是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 :

Project properties - Java Build Path

所以我点击“移除”来移除 Junit 4。这导致测试文件夹出错 - 我删除了该文件夹!

随后,我能够将该项目部署到我的开发设备上。

结论:在 jsHybugger 删除“LICENSE.TXT”之前,似乎不可能同时使用 Junit 和 jsHybugger

关于android - 生成最终存档时出错 : Found duplicate file for APK: LICENSE. txt,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23568882/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com