运行本地医生时
Common
✓ Node.js
✓ yarn
Android
✓ ANDROID_HOME
✖ Android SDK - Required for building and installing your app on Android
- Version found: 23.0.1
- Version supported: >= 26.x
但在build.gradle
中buildscript {
ext {
buildToolsVersion = "28.0.3"
minSdkVersion = 16
compileSdkVersion = 28
targetSdkVersion = 28
androidXAnnotation = "1.1.0"
androidXBrowser = "1.0.0"
androidXCore = "1.0.2"
}
我不知道这些工具会从中检测设置,我该怎么办?
答案 0 :(得分:0)
运行命令react-native doctor
时似乎${ANDROID_HOME}/tools/bin/sdkmanager --list
在顶部选择了版本,而应该从底部开始选择该版本。
您可能应该等待这个问题解决!