简体   繁体   中英

Android Version Not found while running npx react-native doctor

So I asked a question before here about setting up react native environment for windows. But I got error about android licensing so someone suggested me to run npx react-native doctor which resulted in one error which is

这个错误 Here is the list of SDK installed在此处输入图像描述 Please help me what does this error means

This worked for me on windows 10:

Install android command line tools from android studio SDK manager (SDK tools tab). then add <YOUR_ANDROID_SDK_PATH>\cmdline-tools\latest\bin to PATH environment variables

ANDROID_HOME should be set to: C:\Users\AKSHAY\AppData\Local\Android\Sdk

Have you checked that your sdkmanager is properly working??

Try sdkmanager --list

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM