gpt4 book ai didi

java - 操作栏 Sherlock 编译错误

转载 作者:行者123 更新时间:2023-12-01 14:30:33 24 4
gpt4 key购买 nike

我正在尝试导入 Android 应用程序的程序文件。但是设置 ActionBarSherlock 时遇到问题,给我错误。我使用的是配备 IntelliJ 12 CE、Android SDK、Java 和 Action Bar Sherlock 的 MAC。如何设置才不会出现错误?

java: /library-projects/actionbar-sherlock-4.2.0/test/com/actionbarsherlock/internal/ManifestParsingTest.java:3: package org.junit does not exist

java: /library-projects/actionbar-sherlock-4.2.0/test/com/actionbarsherlock/internal/ManifestParsingTest.java:6: package org.hamcrest does not exist

java: /library-projects/actionbar-sherlock-4.2.0/test/com/actionbarsherlock/internal/ManifestParsingTest.java:6: static import only from classes and interfaces

java: /library-projects/actionbar-sherlock-4.2.0/test/com/actionbarsherlock/internal/ManifestParsingTest.java:7: package org.junit does not exist

java: /library-projects/actionbar-sherlock-4.2.0/test/com/actionbarsherlock/internal/ManifestParsingTest.java:10: cannot find symbol
symbol : class Test
location: class com.actionbarsherlock.internal.ManifestParsingTest

最佳答案

您可以告诉 intellJ 不要运行测试:

File -> Project Structure -> Modules -> actionbarsherlock -> Source

从右列删除测试。

关于java - 操作栏 Sherlock 编译错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16883934/

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