Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/three.js/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Gradle仅为发布应用插件或为变体禁用插件_Gradle_Android Gradle Plugin_Gradle Plugin - Fatal编程技术网

Gradle仅为发布应用插件或为变体禁用插件

Gradle仅为发布应用插件或为变体禁用插件,gradle,android-gradle-plugin,gradle-plugin,Gradle,Android Gradle Plugin,Gradle Plugin,我正在使用一个android库名com.growingio.android:vds android代理:1.1。1@aar。它需要使用插件在工件状态下转换代码。库名称为com.growingio.android其中buildscipt依赖项为classpath'com.growingio.android:vds gradle plugin:1.1' 但是每次安装调试后,转换我的代码都花费了很长时间,而我只想在版本变体中使用这个插件 我已使用变体将代码拆分为调试和发布变体。仅在release变体中

我正在使用一个android库名
com.growingio.android:vds android代理:1.1。1@aar
。它需要使用插件在工件状态下转换代码。库名称为
com.growingio.android
其中buildscipt依赖项为
classpath'com.growingio.android:vds gradle plugin:1.1'

但是每次安装调试后,转换我的代码都花费了很长时间,而我只想在版本变体中使用这个插件

我已使用变体将代码拆分为
调试
发布
变体。仅在
release
变体中,我的项目使用
releaseemplementation
来包括他们的aar。我的
debug
变体没有以任何方式导入或使用其代码来加速我的内置
installDebug
。但他们的插件只是扫描并尝试转换我的代码,不管发生什么

请知道,在我的
installDebug
配置文件报告中,他们插件的转换任务最耗时

有人能帮我吗