skip to Main Content

I installed everything for starting react native on android. The command "npx react-native doctor" shows that everyhting is fine. I have also connected an android device to my computer, and this device is shown when I input the command "adb devices".
But when I input the command "npx react-native run-android", I see this mistake: pastebin.com/SyBLbmdz (it is too long to be published here).
How to solve that?

2

Answers


  1. Chosen as BEST ANSWER

    I have understood. The problem was because of incompatible NDK version. I used 28.0.12674087, now I installed 26.1.10909125 using the command "sdkmanager", and now everything works correctly.


  2. May be there is a problem with your setup and react native, try this:

    rm -rf node_modules
    npm cache clean --force
    npm install
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search