美文网首页
Android Studio 打包报错

Android Studio 打包报错

作者: 宁静世界 | 来源:发表于2020-01-12 17:33 被阅读0次

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':rich:mergeReleaseJavaResource'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
More than one file was found with OS independent path 'AndroidManifest.xml'

  • 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

BUILD FAILED in 7s

image.png

解决方法:
https://stackoverflow.com/questions/58231884/more-than-one-file-was-found-with-os-independent-path-androidmanifest-xml

classpath 'com.android.tools.build:gradle:3.5.2'降低到
classpath 'com.android.tools.build:gradle:3.4.0'

相关文章

网友评论

      本文标题:Android Studio 打包报错

      本文链接:https://www.haomeiwen.com/subject/ddcwactx.html