Skip to content

Latest commit

 

History

History
142 lines (75 loc) · 8.44 KB

DEV_SETUP.md

File metadata and controls

142 lines (75 loc) · 8.44 KB

Beta Testing/Development Setup

  • If you are a Beta-tester that does not have a smartphone device with Android 9 (Pie) or up installed, then you can follow these steps to run the WalletWatch app in an emulator on your computer.
  • If you would like to contribute to this open-source project, then these steps will get you setup in the development environment.

Step-By-Step Walkthrough

  1. Download the appropriate installer file for your computer from this link:
  1. Locate the downloaded installer file in your Downloads folder on your computer.

alt text

  1. Double-click the installer file to run the installation of Android Studio. Windows users should preferably right-click the file and then click Run as administrator, if able. You may also refer to this link for additional installation instructions, especially if your computer is a Linux machine:

alt text

  1. Click Next >.

alt text

  1. Make sure both the Android Studio checkbox and Android Virtual Device checkbox are checked. Then, click Next >.

alt text

  1. If you would prefer a different installation location, then select or enter the desired location. Then, click Next >.

alt text

  1. If you would prefer not to have an Android Studio shortcut on your desktop, select Do not create shortcuts. Then, click Install.

alt text

  1. Wait for the installation of Android Studio to complete. This will take several minutes. Then, click Next > when it has completed.

alt text

  1. Make sure the Start Android Studio checkbox is checked. Then, click Finish.

alt text

  1. A popup will appear. Check the Do not import settings checkbox. Then, click OK.

alt text

  1. On the next popup, select whether or not you want to allow Google the ability to collect anonymous usage data.

alt text

  1. The Setup Wizard for Android Studio will appear. Click Next.

alt text

  1. Check the Standard checkbox. Then, click Next.

alt text

  1. Check the checkbox of your preferred theme. Then, click Next.

alt text

  1. Click Next.

alt text

  1. Click Finish.

alt text

  1. Wait for the installation of the Android SDK to finish. This will take several minutes. Then, click Finish.

alt text

  1. Download a ZIP file of the WalletWatch GitHub repo by clicking this link:
  1. Locate the downloaded ZIP file in your Downloads folder on your computer. Right click the ZIP file. Then, click Extract All....

alt text

  1. Click Extract to extract the repo files out of the ZIP file.

alt text

  1. Android Studio should have popped up a small welcoming window. Click Open an existing Android Studio project. In the navigation popup, locate the Development folder within the extracted repo folder. The Development folder should have a green Android robot icon next to it.

alt text

  1. Android Studio should now launch and load the WalletWatch project. Wait for Android Studio to finish automatically installing the libraries and other modules needed to run WalletWatch. This will take several minutes. You may recieve an Android SDK warning popup, which you may ignore. You may recieve a firewall warning popup, in which case you should allow Android Studio the ability to use the Java SDK.

alt text

  1. Once Android Studio has finished running the background processes of installing the modules, click the No Devices drop-down menu in the top menubar. Then, click Open AVD Manager.

alt text

  1. The AVD Manager wizard will popup, which lets you create an emulator of an Android smartphone device, which acts as a virtual machine within Android Studio. Click + Create Virtual Device....

alt text

  1. Select a Phone that supports Android 9 (Pie) or up, such as the Pixel 3. Then, click Next.

alt text

  1. Click Download next to the desired Android 9+ version, such as Android 10 Q, to download the Android SDK on to the virtual device.

alt text

  1. A popup will appear asking you to agree to the terms of two different license agreements. Click Accept to both. Then, click Next.

alt text

  1. If you would like to set a different virtual memory size, then drag the slider as desired. Otherwise, use the recommended size. Then, click Next.

alt text

  1. Wait for the installation of the virtual device and Android SDK to finish. This will take several minutes. Then, click Finish.

alt text

  1. Click Finish.

alt text

  1. Click Next.

alt text

  1. Make sure the starting orientation is set to Portait. Then, click Finish.

alt text

  1. The AVD Manager will close. Now to start the emulator and run the WalletWatch app within it, click the green arrow play button in the top menubar. Alternatively, you may use the "Shift+F10" key command.

alt text

  1. Wait for the emulator to startup. This will take a couple minutes. The emulator will automatically bypass the lock screen and then install the WalletWatch app on to the emulator. This will take a couple more minutes. Finally, the emulator will launch the WalletWatch app.

alt text

  1. When you are done testing the app, you may close the emulator by long-clicking the power button in the emulator sidebar and then clicking Power Off within the emulator. Alternatively, you may simply click the tiny x button in the emulator sidebar. You may then close Android Studio.

alt text