Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yarn react-native run-android #896

Open
WhutZml opened this issue Oct 29, 2024 · 3 comments
Open

yarn react-native run-android #896

WhutZml opened this issue Oct 29, 2024 · 3 comments

Comments

@WhutZml
Copy link

WhutZml commented Oct 29, 2024

请按以下格式提供问题的相关信息。

问题的具体描述

运行时候报错,说我运行Gradle的时候没有java编译器,但是我有java编译器啊
屏幕截图 2024-10-26 002509
屏幕截图 2024-10-29 165731

包括下面也显示能找到java

请描述完整的环境/版本信息

屏幕截图 2024-10-29 165306
屏幕截图 2024-10-29 165349

@WhutZml
Copy link
Author

WhutZml commented Oct 29, 2024

image

@sunnylqm
Copy link

这个报错有两个说法,一是gradle缓存有问题需要清掉,二是网络问题需要代理
gradle/gradle#28561

@sunnylqm
Copy link

报错是说org.gradle.toolchains.foojay-resolver-convention找不到,没有说java的事情

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants