首页 > 安卓启用 Jack 编译器失败

安卓启用 Jack 编译器失败

build.gradle 配置如下:

buildscript {
    dependencies {
        classpath 'com.android.tools.build:gradle:2.1.0'
    }
}

defaultConfig {
    minSdkVersion 15
    targetSdkVersion 23
    jackOptions {
        enabled true
    }
}

compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

编译时报错如下:

Gradle 'demo' project refresh failed
Error:Cannot get property 'options' on null object

请问有大神遇到过这个问题么, 以及怎样解决呢?


com.neenbedankt.gradle.plugins:android-apt:1.8不支持链接描述

【热门文章】
【热门文章】