为什么这个java.lang.StackOverflowError(没有错误信息)错误显示在我的PC上的每个应用程序上.


error: class, interface, or enum expected
package com.fundmanager;
^
1 error
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* 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:
java.lang.StackOverflowError (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
BUILD FAILED in 18s
at makeError (S:AndroidFundManagementAppfundManagernode_modulesexecaindex.js:174:9)
at S:AndroidFundManagementAppfundManagernode_modulesexecaindex.js:278:16
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async runOnAllDevices (S:AndroidFundManagementAppfundManagernode_modules@react-native-communitycli-platform-androidbuildcommandsrunAndroidrunOnAllDevices.js:109:5)
at async Command.handleAction (S:AndroidFundManagementAppfundManagernode_modules@react-native-communityclibuildindex.js:142:9)
info Run CLI with --verbose flag for more details.

当我去运行构建时,我突然得到了这个错误,它没有显示在特定的应用程序上,我一次在我的两个应用程序上得到了这个。你能告诉我这件事发生的原因吗?

我试了网上几乎所有的解决方案,但还没有解决。

我有同样的问题,但Java版本是原因。

请先在终端使用' Java -version'检查Java版本。

相关内容

  • 没有找到相关文章

最新更新