,# BSA 2019 Fantasy Football project (React Native)
This project was inspired by the English Premier League Fantasy Football application (http://fantasy.premierleague.com). Fantasy football is an online game where participants select a team of real players and all the results of the players totally depend on the statistics of those players in real games.
- Getting Started with React Native.
- Use the npm to install app.
npm install
react-native run-android
react-native start
-
Please notice that the Windows file system isn't case sensitive, so it treats these names as the same file. On Linux, the file system is case sensitive (configure the
ANDROID_HOME
environment variable). -
Do not forget to type
source $HOME/.bash_profile
orsource $HOME/.bashrc
to load the config into your current shell. -
If you are using fish as the default shell.
# ~/.config/fish/config.fish
set --export ANDROID $HOME/Android;
set --export ANDROID_HOME $ANDROID/Sdk;
set -gx PATH $ANDROID_HOME/tools $PATH;
set -gx PATH $ANDROID_HOME/tools/bin $PATH;
set -gx PATH $ANDROID_HOME/platform-tools $PATH;
set -gx PATH $ANDROID_HOME/emulator $PATH;
source ~/.config/fish/config.fish
- Error: spawnSync ./gradlew EACCES.
chmod 755 android/gradlew
- Keystore file '/Project-Folder/android/app/debug.keystore' not found for signing config 'debug'.
cd android/app
keytool -genkey -v -keystore debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000
- If your device does not show the RSA dialog in debug mode.
dba kill-server
rm -rf ~/.android/adbkey
rm -rf ~/.android/adbkey.pub
# then try to plug-in the device again
dba start-server
dba devices -l # it should be authorized