मेरे एंड्रॉइड स्टूडियो या मेरी कॉन्फ़िगरेशन में क्या गलत है?एंड्रॉइड स्टूडियो त्रुटि जब java8 समर्थन
Error:(22, 0) Could not find method jackOptions() for arguments [[email protected]] on project ':app' of type org.gradle.api.Project.
और यह मेरा build.gradle
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.twtstudio.wepeiyanglite"
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
jackOptions {
enabled true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta1'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
है मुझे लगता है कि जैक मेरी विकसित वातावरण में सक्षम नहीं है, और कैसे बाहर गलतियों खोजने के लिए और इसे ठीक करने के? मैं पहले से ही jdk1.8
अपने defaultConfig और सिंक परियोजना –
अंदर jackOptions ले जाएँ मैं अपने सुझाव के लिए उपयुक्त और classpath सेटिंग्स का पालन करें और संपादित, यह काम करता है, धन्यवाद! – life2015