Search code examples
react-nativeandroid-studiosdk

✖ Android SDK - Required for building and installing your app on Android - Versions found: 29.0.2, 31.0.0 - Version supported: Not Found


im trying to conect react native to an emulator and because I cant successfully launch it, I run

npx @react-native-community/cli doctor 

but it gave me this warning

 ✖ Android SDK - Required for building and installing your app on Android
   - Versions found: 29.0.2, 31.0.0
   - Version supported: Not Found

these are the things that I have tried enter image description here enter image description here enter image description here


Solution

  • Version supported: Not Found
    

    this has been resolved by downloading the react native cli

    npm install -g react-native-cli