0.0.2 • Published 3 years ago
pachira-re-try v0.0.2
Setup
Install
- Follow this link for installation instructions: https://reactnative.dev/docs/environment-setup
- Install Android Studio
- Install Android SDK
- Install an Android Virtual Machine (Through Virtual Device Manager)
- Configure the ANDROID_SDK_ROOT environment variable
- Clone this repository
- Run npm installoryarn installto install dependencies
- Run the Android Virtual Machine
- Open the project in VS Code or Android Studio and open 2 terminals
- Run npm startoryarn startin one terminal
- Run npm run androidoryarn androidin the other terminal
- The app should now be running on your Android device
Use as NPM package
- Make a new React Native project
- Run yarn add file:../pachira-refer-earnornpm install file:../pachira-refer-earnin the new project. (Replace the path with the path to the cloned repository if the new project is not in the same directory as the cloned repository)
- Add components to your project