Task :chat:processDebugManifest FAILED Could not get unknown property 'manifestOutputDirectory'

1209103220 2021-1-9 875

刚下载的源码,什么都没改。是用的TAG:0.8.4

fzh-lenovo% ./gradlew -v        


Gradle 6.5

Build time:   2020-06-02 20:46:21 UTC Revision:     a27f41e4ae5e8a41ab9b19f8dd6d86d7b384dad4

Kotlin:       1.3.72 Groovy:       2.5.11 Ant:          Apache Ant(TM) version 1.10.7 compiled on September 1 2019 JVM:          1.8.0_261 (Oracle Corporation 25.261-b12) OS:           Linux 5.4.0-42-generic amd64

Task :chat:processDebugMainManifest /data/project/chat/android-chat/chat/src/main/AndroidManifest.xml:64:9-66:35 Warning:        Element meta-data#android.max_aspect at AndroidManifest.xml:64:9-66:35 duplicated with element declared at AndroidManifest.xml:54:9-56:35 [:uikit] /data/project/chat/android-chat/uikit/build/intermediates/library_manifest/debug/AndroidManifest.xml:63:9-65:35 Warning:        Element meta-data#android.max_aspect at [:uikit] AndroidManifest.xml:63:9-65:35 duplicated with element declared at [:uikit] AndroidManifest.xml:54:9-56:35 [:client] /data/project/chat/android-chat/client/build/intermediates/library_manifest/debug/AndroidManifest.xml:19:5-75 Warning:        Element uses-permission#android.permission.READ_PHONE_STATE at [:client] AndroidManifest.xml:19:5-75 duplicated with element declared at [:client] AndroidManifest.xml:16:5-75

Task :chat:processDebugManifest FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':chat:processDebugManifest'.

    Could not get unknown property 'manifestOutputDirectory' for task ':chat:processDebugManifest' of type com.android.build.gradle.tasks.ProcessMultiApkApplicationManifest.

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.5/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 18s

最新回复 (1)
  • x86 2021-1-10
    引用 2
    你好,我们目前使用的是 Gradle 6.1.1,
    不知道有没有关系
返回