This repository has been archived by the owner on Oct 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Prerequisites
patogallaiovlabs edited this page Jun 22, 2021
·
6 revisions
- NodeJS : node.js
>=12
and compatible npm version.
- In order to run this App in Android Simulator, Android Studio needs to be installed with Android SKD 11 (Api level 30). Please refer to https://developer.android.com/studio
- Open Android Studio, create a device via
Tools > AVD Manager > Create Virtual Device
. After downloading required dependencies, start the device by clicking on Play icon. - Now we are testing if you can invoke
adb
in terminial. This is for running rWallet Android App on Android virtual device.- Since we already have Android Studio installed we can add
platform-tools
to pathecho 'export ANDROID_HOME=/Users/$USER/Library/Android/sdk' >> ~/.bash_profile echo 'export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools' >> ~/.bash_profile
- Then, refresh bash profile by
source ~/.bash_profile
- Start using adb with
adb devices
- If you have a virtual device running, it should show
List of devices attached emulator-5554 device
- Since we already have Android Studio installed we can add
- Cocoapods installed: https://cocoapods.org/
- There is a known issue with macs with M1. To solve it, follow this solution: https://stackoverflow.com/questions/67282416/load-error-while-trying-to-install-cocoapods-in-macbook-air-running-osx-11-2-2-w
- XCode needs to be installed (v11.x). iOS simulator will be installed along with XCode.
Note: When running npm install
with xCode 12.x it throws the following error:
ReferenceError: globalThis is not defined #2795