-
Notifications
You must be signed in to change notification settings - Fork 0
Installing the Dev Environment
Using a git client, clone this link to access the Android project. You can clone using an ssh key so that you do not require a password every time you push or pull.
[email protected]:CPSECapstone/ambigouslyandroid.git
Download the latest version of Android Studio using the link below.
https://developer.android.com/studio
Be sure to select the green android project icon so that the IDE configures the project correctly.
Select OK, then wait for gradle to finish syncing and indexing.
Navigate to Tools -> SDK Manager
Select Android 7.1.1 (Nougat)
Navigate To SDK Tools and check Android Emulator, Chrome OS Device, Google Play Services, Android SDK Build Tools and Android SDK Platform Tools
Select Save
Due to a bug with the emulator and ChromeOS, you need to download the emulator from one of these links.
Windows https://dl.google.com/android/repository/emulator-windows-6031357.zip
Linux https://dl.google.com/android/repository/emulator-linux-6031357.zip
MacOS https://dl.google.com/android/repository/emulator-darwin-6031357.zip
Open the android SDK folder based on the path that's provided in the SDK manager. Replace "emulator" with the emulator folder you downloaded above.
Navigate to Tools -> AVD Manager
Select create virtual device
Select Pixelbook and click next.
Select Nougat and click next.
Select Finish
Select the play button in the AVD (Android Virtual Device Manager)
Wait for emulator to load, and select "Enable debugging features"
It will fail. This is ok.
Select blue "Lets go", then "next" for network access, then accept the chrome os terms. After, sign in with your google account. Select Accept and continue. Finally, when google play apps and services appears, select the blue "More" button, then the blue "I Agree" button. Skip the google assistant setup. You should see your ChromeOS desktop.
Select the green play button in the top middle section of Android Studio.
After some time, the virtual ChromeOS device should launch the app.