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

react-native 0.76.3 初始化项目报错 #918

Open
chenyongH opened this issue Dec 6, 2024 · 3 comments
Open

react-native 0.76.3 初始化项目报错 #918

chenyongH opened this issue Dec 6, 2024 · 3 comments

Comments

@chenyongH
Copy link

麻烦大佬帮忙看看还需要怎么配置,谢谢了

问题的具体描述

1、创建项目 npx @react-native-community/cli@latest init AwesomeProject
2、运行项目报错
cd AwesomeProject
yarn android
报错内容:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
image

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

环境是按照官网说明配置的,运行检测也正常的
image

node版本:v20.11.1

jdk:java version "17.0.7" 2023-04-18 LTS

运行的时候也正常打开了vpn

package.json:
image

预期结果

正常跑起来

@sunnylqm
Copy link

sunnylqm commented Dec 6, 2024

翻墙问题

@chenyongH
Copy link
Author

chenyongH commented Dec 6, 2024

@chenyongH
Copy link
Author

chenyongH commented Dec 6, 2024

翻墙问题

您好,我这个报错里有个地址
https://oss.sonatype.org/content/repositories/snapshots/com/facebook/react/react-android/0.76.3/react-android-0.76.3.pom
;我翻墙在浏览器访问
https://oss.sonatype.org/content/repositories/snapshots/com/facebook/react/react-android
文件夹下没有0.76.3;请问这个是需要我在哪里改什么吗?

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