Android Studio, Android Emulator & Phone Debugging Setup - CertifaiAI/deployment-course-labs GitHub Wiki
Setup Guide
Android Studio
Download Android Studio from here
Open a Project
Step 0. Clone the 'deployment-course-labs' repo.
Step 1. Open Android Studio.
Step 2. Open the project by clicking Open an Existing Project
.
Step 3. Select day_3/{ApplicationDirectory}/App
and click OK
to open the project.
Step 4. Make sure the project view is set a Android
.
Emulator Setup
Step 1. Open a project in Android Studio.
Step 2. In the navigation bar, click the AVD Manager
.
Step 3. In the AVD Manager
, click the Create Virtual Device
button.
Step 4. In the Virtual Device Configuration
, select any phone, then click next at the bottom right.
Step 5. For system image selection, select Android 9.0 or 10.0, then click next.
Step 6. In the configuration settings, make sure the Startup orientation
is Portrait, then click Show Advanced Settings
.
Step 7. In the camera settings, change the back camera to Webcam0
, then click Finish
.
Phone Setup
Step 0. Clone the 'deployment-course-labs' repo.
Step 1. Follow instruction from here to enable developer option and enable USB debugging in your phone.
Step 2. Connect your phone to the pc via USB.
You should be able to see your phone is shown in the devices.