Dexguard与Android开发中的其他插件冲突

问题描述 投票:1回答:1

我一直在为我的Android项目使用Dexguard,它一直运行良好,直到最近我不得不使用另一个插件。因为构建其他插件的方式,要求项目应用“com.android.application”或“com.android.library”。但由于dexguard插件是com.android.application的扩展,后者被dexguard取代,我无法使用需要“android”插件的其他插件。

//apply plugin: 'android'
apply plugin: 'dexguard'

有谁知道是否有办法解决这个问题?我已经联系过该插件的作者,但是为每个插件作者寻找解决方案是不切实际的。


参考我的问题:

Dexguard plugin specification

这里是我试图使用的plugin (android-apt)需要插件:Android和Android而不是dexguard。

android proguard android-gradle dexguard
1个回答
0
投票

最新的DexGuard插件(6.1.03)与Android插件(1.0.0)一起使用,而不是扩展它。这应该可以提高与其他第三方插件的兼容性。

© www.soinside.com 2019 - 2024. All rights reserved.