【发布时间】:2020-10-14 08:38:43
【问题描述】:
我是 React Native 的新手。我的目标是构建 Android。 针对这个特定问题已经有很多解决方案,但我相信我已经遵循了几乎其中的一个。
这是我的医生 cli 结果:
Common
✓ Node.js
✓ npm
✓ Watchman - Used for watching changes in the filesystem when in development mode
Android
✓ JDK
✓ Android Studio - Required for building and installing your app on Android
✖ Android SDK - Required for building and installing your app on Android
- Versions found: 28.0.2, 28.0.3, 29.0.0, 29.0.2, 29.0.3, 30.0.2
- Version supported: Not Found
✓ ANDROID_HOME
iOS
✓ Xcode - Required for building and installing your app on iOS
✓ CocoaPods - Required for installing iOS dependencies
● ios-deploy - Required for installing your app on a physical device with the CLI
Errors: 1
Warnings: 1
如您所见,可以找到 SDK,但显然找不到 supported version。
到目前为止我做了什么:
- 已添加
local.propertieshttps://stackoverflow.com/a/54234228/3231194 - 正确配置
/.bash_profile事物。 - 并排安装了 Android NDK,以及其他 Android 所需的东西。
- 已安装 Android API 30、10.0(Q)
【问题讨论】:
标签: android react-native react-native-android