我得到了以下信息:
C:\Users\ewgof\source\TargetSum> npx react-native doctor
Common
✓ Node.js
✓ yarn
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: N/A
- Version supported: 33.0.0
✓ ANDROID_HOME
Errors: 1
Warnings: 0
Usage
› Press f to try to fix issues.
› Press e to try to fix errors.
› Press w to try to fix warnings.
› Press Enter to exit.
Android Studio说我有Android SDK构建工具34:
因此,我尝试安装Android SDK版本33如下:
C:\Program Files (x86)\Android\android-sdk\cmdline-tools\5.0\bin> .\sdkmanager.bat --install "cmdline-tools;33.0.0"
Warning: Failed to find package 'cmdline-tools;33.0.0'
对于安装SDK版本33有什么建议吗?
我已尝试在SDK平台上查看显示软件包详细信息,但未在此处看到Android SDK Build:
我可以通过单击SDK Tools(SDK工具)选项卡而不是SDK Platforms(SDK平台)来获得与您所显示的视图类似的视图:
奇怪的是,我似乎已经安装了33版。
1条答案
按热度按时间osh3o9ms1#
单击SDK平台
选中“显示套餐详细信息”