Skip to content

toantk238/SampleReactNative

Repository files navigation

Sample-React-Native


Dependencies

NODE JS version : v6.9.2

react-native-cli: 2.0.1

react-native: 0.39.2

How to run this project on Linux Mint 18.1

  1. Install dependencies

  2. Install react-native cli

    npm install -g react-native-cli

  3. Clone react-native from this link

    Branch : master

    Revision : 573170699f54c7136fe3b00563b4dab2df2469c8

  4. cd react-native

    npm install

  5. Download ANDROID SDK and Android NDK

    export ANDROID_HOME=~/Android/Sdk

    export PATH=${PATH}:${ANDROID_HOME}/tools

    export PATH=${PATH}:${ANDROID_HOME}/platform-tools

    export ANDROID_NDK=...

    export PATH=$ANDROID_NDK:$PATH

  6. Clone this project

  7. Cd $this_project

  8. Run "react-native start" as standlone terminal

  9. On another terminal, run "react-native run-android"

    Device must be Android 5.* because now React-Native requires a special permission -> Must request this permisison on Android 6+ (haven't request this yet)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published