#Yalla App
##Installation First, follow instructions on React-Native Install Link.
###Android
- In Windows installation, create new Environment Variable ANDROID_HOME.
- Make sure ANDROID_HOME points to the installed android-sdk path.
- Add %ANDROID_HOME%\tools and %ANDROID_HOME%\platform-tools to PATH in Environment Variables.
- In Cmd, navigate to repository.
- Run
react-native run-android.
###iOS (on a mac)
- Navigate to the ios directory
- Run
npm install - Make sure you have Xcode installed
- Open
YallaApp.xcodeprojin Xcode and run using the simulator
-
React Native complains about not finding android-x (where 'x' is some version number)
Solution: open Android Package Manager from Android Studio and install the required sdk version -
React Native complains about Build-tools version missing
Solution: runandroid list sdk -a, then locate the missing Build-tool required version and get its index in the list (will refer to it as {index}), then runandroid update sdk -a -u -t {index} -
React Native complains about no device connected
Solution: runandroid avdand manually create and run a new device emulator