构建/运行Android应用程序时出错:任务执行失败':app:compileDevDebugJavaWithJavac'

时间:2016-05-13 10:44:46

标签: java android android-studio javac

我的应用程序运行正常,直到我将Dagger实现到我的项目和其他一些小类,以使我的应用程序与外部服务器进行交互。

现在我什么都做不了。我正在使用Android Studio 2.0,Ubuntu 15.04。我不知道造成问题的原因是什么,所以请随意询问你想要看到的东西。

这是我从Gradle控制台获得的:

An exception has occurred in the compiler (1.8.0_77). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for java.lang.invoke.MethodType not found

 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDevDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

Messages:
Error:Execution failed for task ':app:compileDevDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

0 个答案:

没有答案