我正在运行AndroidStudio 0.8.4,并在AndroidStudio 0.8.2上试过这个.
我正在运行Java JDK 1.8.0_11并尝试使用JDK 1.8.0_05.
每当我尝试构建我的android工作室项目 - Build -> Rebuild Project或尝试运行应用程序时,我都会收到以下错误:
An exception has occurred in the compiler (1.8.0_11). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade 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
这是我的build.gradle:mobile模块:
apply plugin: 'com.android.application'
android {
compileSdkVersion 'android-L'
buildToolsVersion '20.0.0'
defaultConfig {
applicationId "com.energy.dartboard.dartboard"
minSdkVersion 17
targetSdkVersion 'L'
versionCode 1
versionName "1.0" …Run Code Online (Sandbox Code Playgroud)