项目升级了gradle的版本后,出现了以下错误
A problem occurred configuring project ':app'.
> Could not create task ':app:resguardUseApk'.
> Could not create task of type 'AndResGuardTask'.
> No such property: variantConfiguration for class: com.android.build.gradle.internal.variant.ApplicationVariantData
解决方案
com.tencent.mm:AndResGuard-gradle-plugin:1.2.17版本升级到18后解决
本人小白,所以这不适合所有人,也不知道原理,留作笔记