From e9fd961913d5e5af2860b86856dc2d31402a2348 Mon Sep 17 00:00:00 2001 From: Maria Zadnepryanets Date: Tue, 27 Aug 2019 08:55:29 +0000 Subject: [PATCH] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6a3d843..06cb16e 100644 --- a/README.md +++ b/README.md @@ -97,12 +97,13 @@ $ npm test 3. Open Android Studio and go to -> Tools -> AVD manager -> `+Create virtual device` and select the device checked in the previous step 4. Use the emulator on your machine to run it without heavy Android Studio, e.g. in `~/Android/Sdk/emulator` OR chose to run the emulator within Android Studio 4.1 Here run: `$ ./emulator -avd NEXUS_DEVICE_OR_WHATEVER_SPECIFIED_DEVICE` -4.2 You might need to specify the following environment variables in your zsh or bash file according to where you have it installed: +4.2 You might need to specify the following environment variables in your zsh or bash file according to where you have it installed. You can find exact path in Android Studio (Android Studio Preferences → Appearance and Behavior → System Settings → Android SDK). ``` export ANDROID_HOME="/home/myname/Android/Sdk" export ANDROID_SDK_ROOT="/home/myname/Android/Sdk" export ANDROID_AVD_HOME="/home/myname/.android/avd" -``` +``` +After adding environment variables, you might need to restart your terminal or source the modified bash profile (i.e. "source ~/.bash_profile"). 5. For the first time you need to get the app on the phone or if you run into this error: `'app-debug-androidTest.apk' could not be found` --> open a new 2nd tab and run (in your drip folder): `cd android and ./gradlew assembleAndroidTest`