React Native Android 未找到 SDK 支持的版本 Mac
React Native Android SDK Supported Version Not Found Mac
我是 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.properties
- 正确配置
/.bash_profile
东西。
- 已安装 Android NDK Side by Side,以及 Android 所需的其他内容。
- 已安装 Android API 30、10.0(Q)
在首选项设置中切换到 SDK Platforms
并安装版本 28、29、30。然后再次尝试 运行。希望对你有帮助。
我是 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.properties
- 正确配置
/.bash_profile
东西。 - 已安装 Android NDK Side by Side,以及 Android 所需的其他内容。
- 已安装 Android API 30、10.0(Q)
在首选项设置中切换到 SDK Platforms
并安装版本 28、29、30。然后再次尝试 运行。希望对你有帮助。