打包失败

nemo 2021-1-10 1693

这个是什么原因

Configure project :chat useNewCruncher has been deprecated. It will be removed in a future version of the gradle plugin. New cruncher is now always enabled. WARNING: DSL element 'annotationProcessorOptions.includeCompileClasspath' is obsolete. It will be removed in version 5.0 of the Android Gradle plugin. It does not do anything and AGP no longer includes annotation processors added on your project's compile classpath --W- The variant: debug, Use the json file: C:\Users\ASUS\Desktop\android-chat-master\android-chat-master\chat\agconnect-services.json --W- The variant: release, Use the json file: C:\Users\ASUS\Desktop\android-chat-master\android-chat-master\chat\agconnect-services.json

Configure project :uikit useNewCruncher has been deprecated. It will be removed in a future version of the gradle plugin. New cruncher is now always enabled. WARNING: DSL element 'annotationProcessorOptions.includeCompileClasspath' is obsolete. It will be removed in version 5.0 of the Android Gradle plugin. It does not do anything and AGP no longer includes annotation processors added on your project's compile classpath

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

  • What went wrong: Metaspace

  • 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.

2: Task failed with an exception.

  • What went wrong: Failed to notify build listener.

    Metaspace Metaspace Metaspace Metaspace Metaspace Metaspace

  • 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.1.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 5s

最新回复 (1)
  • x86 2021-1-11
    引用 2
    是不是gradle版本不对导致的,我们用的是6.x
返回