Lab1 Setup: Android Developing Environment
A. Install Android Studio
Download and install Android Studio follow the guide here with a few clicks. If you can not visit some websites, you can download from here
Note:
- Almost all you want to know about how to use Android Studio is on the site, make sure you know how to use this IDE before class.
B. Install Android SDK
Open Android Studio after your installation is complete.
You can start setting your sdk from either choice below.
- Click File->Settings, click Appearance & Behavior, then click Android SDK in System Settings tab. The target SDK we use in this class is Android 11.0 API

- The SDK tools we use is Android SDK Build-Tools 33-rc1
C. Hello World
- Create a project in Android Studio by clicking File -> New -> New Project -> Phone and Tablet -> Empty Activity
- Set the minimum SDK of the project to API 24: Android 7

- Edit code as follow and paste Ctrl + F9 to make the project:

Under directory "app\build\outputs\apk\debug" of the project, you will see a APK file named "app-debug.apk".
To run the apk in Nox Android Emulator, executing the following command in a console:
Then clicking your app in Nox, you will see "hello world" in your console.