How to install Android Studio?
Things you need to know before our class.

app-development-tools
Android Studio is a native Android mobile application development tool.
Through the guideline provided below, you are able to install Android Studio in your PC as well as avoiding all of the errors that most people will face during the installation process.

STEP 1: Open browser with download link

mobile-app-tool
1. Open any browser that you have and visit the link: https://developer.android.com/studio/
2. Click on the DOWNLOAD ANDROID STUDIO button and proceed to next step

STEP 2: Accept the Terms & Conditions

mobile-app-tool
1. Spend some time to read the Terms & Conditions.
2. Tick the tickbox and press on DOWNLOAD ANDROID STUDIO FOR WINDOWS/MAC

STEP 3: Run the installation widget pt.1

1. Click on the .exe for Windows, .dmg for Mac installation file, you should be able to see the setup widget accordingly.
2. Click on the NEXT button for the next setup page.

STEP 4: Run the installation widget pt.2

mobile-app-tool
1. Make sure that you have ticked the Android Virtual Device option in this dialog
2. Click on NEXT button for the next setup page.

STEP 5: Run the installation widget pt.3

mobile-app-tools
1. Make sure that you have a proper directory setup in your PC for Android Studio. The default one should be leave it as default if your PC have enough space for that.
2. Click on NEXT button for the next setup page.

STEP 6: Run the installation widget pt.4

mobile-app-tool
1. Click on INSTALL button to start the installation.

STEP 7: Run the installation widget pt.5

mobile-app-tool
1. You should be able to see the COMPLETED status if the installation is run successfully.
2. Click on NEXT button for the next setup page.

STEP 8: Run the installation widget pt.6

mobile-app-tool
1. Last step of the setup widget is to ensure you are able to launch your Android Studio by ticking the START ANDROID STUDIO tickbox.
2. Click on FINISH button to launch Android Studio on your PC.

STEP 9: Complete Installation pt.1

mobile-app-tools
1. Complete the installation by selecting DO NOT IMPORT SETTINGS.

STEP 10: Complete Installation pt.2

1. You should be able to see this page as the first page of this setup wizard.
2. Click on NEXT and proceed to the next setup page.

STEP 11: Complete Installation pt.3

1. Select STANDARD install type.
2. Click on NEXT and proceed to the next setup page.

STEP 12: Complete Installation pt.4

1. Select your prefer UI Theme. (Would recommend Darcula for better eye-sight protection.
2. Click on NEXT and proceed to the next setup page.

STEP 13: Complete Installation pt.5

mobile-app-tool
1. You should currently at the last stage of installation widget.
2. Click on FINISH to download the SDK Components to the particular directory.

STEP 14: Complete Installation pt.6

mobile-app-tools
1. Here is the reference once you have completed the installation.
2. Click FINISH to launch the fully setup Android Studio.

STEP 15: Launch Android Studio

mobile-app-tool
1. If you are the first time launching Android Studio in your PC, you should be able to see dialog like this appear on your PC.
2. Click START A NEW ANDROID STUDIO PROJECT to launch a new project.

STEP 16: Start a new Android Studio Project

mobile-app-tool
1. Name your application name either by default or any other name you would like to specific with Capital letter. This will be the application name for your mobile app. Don't worry if you haven decide what name to fill in, we can change it inside the project.
2. Company domain is useful for Google Playstore to identify the developer. Leave it as default if you don't have any domain.
3. Project location is important as well, make sure you know where you save your file.
4. Click NEXT to proceed to the next setup page.

STEP 17: Target Android Devices

mobile-app-tool
1. For our case, we should tick the PHONE AND TABLET tickbox as we are developing a mobile application.
2. Click on the drop-down menu and select API 23: Android 6.0 (Marshmallow) as the target device.

STEP 18: Add an Activity to Mobile

mobile-app-tool
1. There are many templates in Android Studio, but we suggest you to learn from the scratch, therefore choosing EMPTY ACTIVITY is the best step to start.
2. Click the NEXT button to the next setup page.

STEP 19: Configure Activity

mobile-app-tools
1. Give a name to the activity, leave it as default if you don't know how does this work. More explanation will be given during class time.
2. Tick the GENERATE LAYOUT FILE and BACKWARDS COMPATIBILITY tickbox, and leave the layout name as by default.
3. Click the NEXT button to the next setup page.

STEP 20: Gradle Building failed scenario

mobile-app-tool
1. You will see a status of Gradle project sync failed status on top of your menu when Android Studio is first launched.
2. Click the INSTALL BUILD TOOLS 27.0.3 AND SYNC PROJECT option on the Message box that located below.

STEP 21: SDK Quick Fix Installation

mobile-app-tool
1. Accept the license agreement and proceed to NEXT button.

STEP 22: SDK Quick Fix Installation (Completed)

mobile-app-tool
1. You should be able to see this dialog if the installer is successfully installed.
2. Click FINISH then your entire gradle project will be re-built without any error message.
3. If you still see any error occur in your project, repeat step 20.

STEP 23: Test Build

mobile-app-tool
1. Click on the PLAY button above to run the project.

STEP 24: Select Deployment Target

1. You should be able to see this dialog after you pressed the play button.
2. If you have PC with 8GB RAM and above, we would suggest you to follow the optional steps below. If you don't have PC with this specification, skip to STEP 29.

STEP 25 (optional): Create New Virtual Device

mobile-app-tool
1. Select your prefer virtual device model.
2. Click NEXT button to the next setup page.

STEP 26 (optional): Download System Image

1. Click on x86 images category and Download the highlighted system image.
2. You should see a download screen. Leave a moment for it to be downloaded (it takes time).
3. Once successfully download, select the downloaded system image and click NEXT to the next setup page.

STEP 27 (optional): Virtual Device Configuration

mobile-app-tool
1. Give a name for your virtual device by filling in the AVD Name column.
2. Leave other options as default then click on FINISH to setup the virtual device.

STEP 28 (optional): Run your application

1. You should be able to see your available virtual device in this dialog.
2. Select the virtual device and click OK to run the project.
3. Result is shown in Step 30.

STEP 29 (optional): Build your APK file

1. You can choose to build the APK file and send it to your mobile phone and install it manually.
2. Go to BUILD on your menu, and select BUILD APK(s).
3. You will see a notification dialog will appear at the bottom right corner if the apk is successfully built.
4. Locate the apk file and move it to your mobile phone for installation.
5. Result will be shown in the next step.

STEP 30: Result

1. You should be able to see this screen appear on your virtual device or actual device.

Well Done! See you on the event day!