简体   繁体   English

如何修复错误:processDebugMainManifest DEBUG 在从 android studio 运行时颤动

[英]How to fix error :processDebugMainManifest DEBUG in flutter while run from android studio

FAILURE: Build failed with an exception. FAILURE:构建失败,出现异常。

  • What went wrong: Execution failed for task ':app:processDebugMainManifest'.出了什么问题:任务 ':app:processDebugMainManifest' 执行失败。

Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens java.io" to unnamed module @fb04536无法使字段私有最终 java.lang.String java.io.File.path 可访问:模块 java.base 不会“打开 java.io”到未命名的模块 @fb04536

  • Try: Run with --stacktrace option to get the stack trace.尝试:使用 --stacktrace 选项运行以获取堆栈跟踪。 Run with --info or --debug option to get more log output.使用 --info 或 --debug 选项运行以获得更多日志输出。 Run with --scan to get full insights.使用 --scan 运行以获得完整的见解。

  • Get more help at https://help.gradle.orghttps://help.gradle.org获取更多帮助

BUILD FAILED in 27s Exception: Gradle task assembleDebug failed with exit code 1 BUILD FAILED in 27s 异常:Gradle 任务 assembleDebug 失败,退出代码为 1

Solved same issue with following commands使用以下命令解决了同样的问题

cd /Applications/Android\ Studio.app/Contents/jre

ln -s ../jre jdk

ln -s "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin" jdk

Run and check.运行并检查。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何修复错误:processDebugMainManifest DEBUG - How to fix error :processDebugMainManifest DEBUG 我收到此错误 Execution failed for task:app:processDebugMainManifest while running with npm run android 但使用 android studio 运行正常 - i got this error Execution failed for task :app:processDebugMainManifest while running with npm run android but with android studio it works fine 如何在 Android Studio 中修复 Flutter 医生错误 - How to fix Flutter doctor error at Android Studio 如何修复 Flutter 项目从另一台机器移动后无法运行 - Android Studio 3.6.3 MacOS - How to fix Flutter project not being able to run after moving from another machine - Android Studio 3.6.3 MacOS 如何修复错误说“任务:app:installDebug FAILED”,同时在android studio中运行我的反应本机项目? - How to fix error saying “Task :app:installDebug FAILED”, while run my react native project in android studio? 如何在 android 工作室中修复此 flutter 错误? - How can i fix this flutter error in android studio? 安装flutter时,如何解决“在此位置找不到Android SDK”错误? - How to fix 'Android SDK not found at this location' error while installing flutter? 如何修复android studio中的“安装APK时出错”错误 - How to fix “Error while install APK” error in android studio 如何在 Android Studio 中修复 Flutter 的 AndroidX 兼容性? - How to fix AndroidX compatibility for Flutter in Android Studio? 如何修复错误(android studio) - how to fix error (android studio)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM