美文网首页
Execution failed for task ':app:

Execution failed for task ':app:

作者: Nur__ | 来源:发表于2022-04-09 16:10 被阅读0次
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:packageDebug'.
> A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
   > java.lang.IllegalArgumentException (no error message)

* 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 12s
291 actionable tasks: 10 executed, 281 up-to-date

app/build.gradle

android {
...
   defaultConfig {
        ...
        multiDexEnabled true
    }
...
}
rm -rf build/output/apk

解决方案

相关文章

网友评论

      本文标题:Execution failed for task ':app:

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