是否有解决此错误的解决方案`msb6006`?

发布于 2025-02-12 20:48:05 字数 358 浏览 0 评论 0 原文

MSB6006:“ Java.exe”,并以代码2。0。0

我有此错误

严重性代码描述项目文件行抑制状态

MSB6006:“ Java.exe”,并带有代码2。0< /code>

我尝试使用1-启用Multi_dex

2-降级至2019

3-禁用符号.apk文件

4-将代码收缩器设置为r8

5-remove不支持(.NET 5)运行时间 6-返回最后备份。

我已经在许多网站上搜索了7天,但有益。

注意

我的一些步道,我会收到错误ADB0010

MSB6006: "java.exe" exited with code 2. 0

I have this error

Severity Code Description Project File Line Suppression State

Error MSB6006: "java.exe" exited with code 2. 0

I tried to 1 -enable multi_dex

2- downgrade vs to 2019

3- disable sign the .apk file

4- set code shrinker to r8

5-remove unsupported ( .net 5) run time
6- return to last backup.

and I have searched at many websites for 7 days with out benefit .

Note

some of my trails I get the error ADB0010

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

衣神在巴黎 2025-02-19 20:48:05

我发现了解决方案
将JDK更新为JDK 18,该JDK 18在VS 2019中不支持,但在vs 2022中支持
JDK 8和JDK 10不再得到制造(Oracle)的支持,在我的情况下,这会导致此问题。

I have discovered the solution
update the jdk to jdk 18 which not supported in vs 2019 but supported in vs 2022
jdk 8 and jdk 10 is no longer supported by the manufacture (oracle) and that cause this problem in my case.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文