Unable to build react-native 2 project to phone

北城以北 提交于 2019-12-03 11:28:45

Required libraries for 64-bit machines:

If you are running a 64-bit version of Ubuntu, you need to install some 32-bit libraries:

$sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386

If you are running 64-bit Fedora:

$sudo yum install zlib.i686 ncurses-libs.i686 bzip2-libs.i686

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!