Unable to build react-native 2 project to phone

后端 未结 2 703
忘掉有多难
忘掉有多难 2021-02-14 04:17

I have my react-naive project completely setup and have been trying to run it to my phone but kep getting the following error when i run the

react-native

2条回答
  •  梦毁少年i
    2021-02-14 04:38

    Ah thank you. I just followed this

    sudo dpkg --add-architecture i386
    
    sudo apt-get update
    

    but I got an error said that couldn't found the package. Then I found answer in here . To summarize it , you should add architecture i386 like this

    sudo dpkg --add-architecture i386
    
    sudo apt-get update
    

    this work for me very well.

提交回复
热议问题