reactnativecn / react-native-website

React Native 中文网
https://reactnative.cn
MIT License
217 stars 328 forks source link

版本兼容问题?Task :react-native-screens:configureCMakeDebug[arm64-v8a] FAILED #847

Open sjhwork-t opened 3 months ago

sjhwork-t commented 3 months ago

问题的具体描述

-按照中文官方文档构建项目,中文文档说的是33版本的sdk,使用react-native init构建时自动下载了34版本,英文文档使用的也是34版本,(compileSdkVersion = 34)但是可以正常运行。 -在使用导航组件时,react-navigation的bottom组件需要下载依赖react-native-screens组件,下载后就无法运行了。 1 -运行命令时npx react-native doctor显示如下。 ✓ Adb - Required to verify if the android device is attached correctly ✓ JDK - Required to compile Java code ✖ Android Studio - Required for building and installing your app on Android ✓ ANDROID_HOME - Environment variable that points to your Android SDK installation ✓ Gradlew - Build tool required for Android builds ✖ Android SDK - Required for building and installing your app on Android

完整的环境/版本信息

sunnylqm commented 3 months ago

image 这个截图下方需要更完整一点的报错信息

dora1995 commented 3 months ago

我也是遇到这样的问题,但有的电脑可以,新装的环境都不行

DESERT-TVT commented 1 month ago

怎么解决呢

aini-aini commented 1 month ago

我也是同样的问题,有人知道怎么解决吗,求指点

sunnylqm commented 1 month ago

你们都不会截个完整的图吗