2015-01-31 7 views
7

मैं मुझे नए एंड्रॉयड परियोजना का निर्माण और इस त्रुटि प्राप्त करने की कोशिश।त्रुटि: Gradle: निष्पादन कार्य के लिए विफल ': एप्लिकेशन: compileDebugJava':</p> <p>त्रुटि: Gradle: निष्पादन कार्य के लिए विफल ': एप्लिकेशन: compileDebugJava'

Compilation failed; see the compiler error output for details.

मैं किसी भी संकलन विवरण उत्पादन

मैं अधिक जानकारी के कैसे जोड़ सकते हैं मेरी IntelliJ विचार में नहीं दिख रहा है?

enter image description here

यह मेरा gradle.build

buildscript { 
    repositories { 
     jcenter() 
    } 
    dependencies { 
     classpath 'com.android.tools.build:gradle:0.14.2' 
    } 
} 
apply plugin: 'com.android.application' 

repositories { 
    jcenter() 
} 

android { 
    compileSdkVersion 19 
    buildToolsVersion "19.1.0" 

    defaultConfig { 
     applicationId "com.example.reminders" 
     minSdkVersion 14 
     targetSdkVersion 19 
     versionCode 1 
     versionName "1.0" 
    } 

    compileOptions { 
     sourceCompatibility JavaVersion.VERSION_1_8 
     targetCompatibility JavaVersion.VERSION_1_8 
    } 
    buildTypes { 
     release { 
      runProguard false 
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 
     } 
    } 
    lintOptions { 
     abortOnError false 
    } 
} 


dependencies { 
    compile fileTree(dir: 'libs', include: ['*.jar']) 
    compile 'com.android.support:support-v4:21.0.3' 
    compile 'org.roboguice:roboguice:3.+' 
    provided 'org.roboguice:roboblender:3.+' 

} 

तुम जानते हो क्या गलत हो गया है?

उत्तर

2

मैं एक ही त्रुटि मिल गया है और मेरे समाधान इस तरह JavaVersion.VERSION_1_7 को sourceCompatibility और targetCompatibility बदलने के लिए है: संभवतः आप targetSdkVersion बदलने के लिए सुझाव दिया here

+0

रूप unluckily की जरूरत है, इसके अलावा

compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 targetCompatibility JavaVersion.VERSION_1_7 } 

, नहीं था ' टी काम :( – NarendraJi

संबंधित मुद्दे

 संबंधित मुद्दे