I have Ubuntu 15.04 installed in my 64-bit laptop. I had already installed Android Studio and ran into many errors doing so! I do not think I did something weird myself because I challenged some colleagues to install it too. They had to solve quite a few errors themselves! I had some problems with updating it too. But unfortunately, I didn’t record them. Next time I will be more thorough about that!
So, I hurriedly went through the installation page for React Native. After some time installing all other dependencies and stuff I tried to install Watchman too.
Following the instructions in Watchman installation page my make command crashed with an error like:
pywatchman/bser.c:31:20: fatal error: Python.h: No such file or directory
After a quick google search I found out the problem! I had to install a Python package which was python-dev
sudo apt-get install python-dev
and problem solved!
Secondly, I had an error in AVD Manager after starting my emulator that KVM is not installed etc.
The solution? I had to enable Visualization technology in bios settings.
Finally, I got this error, so I ran:
react native start
and everything worked!
Excuse my sloppiness but these are some quick notes I took long ago and guess what! Yeah, I cannot remember exactly what I did and I am cursing myself for not writing down more details about them which might help other fellow devs! Sigh… next time I will do it better!
PS: there is the troubleshooting page which may have something helpful for you, too!