Skip to content

Commit

Permalink
update mi-myplanet-and-android-studio.md (fixes open-learning-exchang…
Browse files Browse the repository at this point in the history
  • Loading branch information
strawberrybread authored Jun 3, 2024
1 parent 428b6de commit f01a167
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
Binary file added pages/mi/image/mi-app-run-configuration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/mi/image/mi-device-manager-location.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion pages/mi/mi-myplanet-and-android-studio.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,19 @@ After importing the project, Android Studio will perform a Gradle build, which m

## 4. Configure Emulator

To avoid overriding the app on your physical device and to ensure crash reports are sent, we need to set up an Android emulator for this step. Open 'Tools' > 'Device Manager.' Click the + icon to create a new virtual device and follow the prompts.
To avoid overriding the app on your physical device and to ensure crash reports are sent, we need to set up an Android emulator for this step. Open 'Tools' > 'Device Manager.'
![Device Manager](image/mi-device-manager-location.png)

Click the + icon to create a new virtual device. You should see this pop up:
![Virtual Device](image/mi-virtual-device-configuration.png)

Follow the prompts to select a hardware, click next and choose a system image. Continue and finish configurations. You may change the device name if you'd like.


## 5. Select Run Configuration

In Android Studio's toolbar, select the desired run configuration from the drop-down menu. It would be `app` in our case.
![Run Configuration](image/mi-app-run-configuration.png)

## 6. Run the App

Expand Down

0 comments on commit f01a167

Please sign in to comment.