我正在尝试为 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