当前位置: 动力学知识库 > 问答 > 编程问答 >

android - Xbootclasspath option not allowed in build.gradle

问题描述:

I am trying to use custom framework.jar in my project. But

when below code snippet is included. I am getting error below.

Error : -Xbootclasspath compile option is not allowed to use

buildscript {

allprojects {

gradle.projectsEvaluated {

tasks.withType(JavaCompile) {

options.compilerArgs.add('-Xbootclasspath/p:system_libraries/framework.jar')

}

}

}

}

分享给朋友:
您可能感兴趣的文章:
随机阅读: