shwenzhang / AndResGuard

proguard resource for Android by wechat team
Apache License 2.0
8.54k stars 1.54k forks source link

出现 outputDirectory 提示,错误如下 #381

Open Yanren1225 opened 5 years ago

Yanren1225 commented 5 years ago
* What went wrong:
Execution failed for task ':app:resguardRelease'.
> Could not get unknown property 'outputDirectory' for provider(task packageRelease, class com.android.build.gradle.tasks.PackageApplication) of type org.gradle.api.internal.tasks.DefaultTaskContainer$TaskCreatingProvider_Decorated.
simpleton commented 5 years ago

可以提供下使用的版本和相关构建plugin的版本么?

Yanren1225 commented 5 years ago

可以提供下使用的版本和相关构建plugin的版本么?

dependencies {
        classpath 'com.android.tools.build:gradle:3.5.0'
        classpath 'com.tencent.mm:AndResGuard-gradle-plugin:1.2.16'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
jiangpan1 commented 4 years ago

一样的问题

zwxbest commented 4 years ago

换了1.2.17就好了。