this article was first published on nitecodes
Android Studio Setup for beginners: Installation, Configuration and Setup
In the post i will be discussing with you on How to Setup Android Studio for beginners : Installation, Configuration and Setup i will suggest you follow all these steps from the Beginning to the End so you wont make any mistake during these process.
First of all before proceeding to download Android Studio to your PC you Have to Download JAVA to your PC.
After Downloading Java
- Install to you PC
- After installing Java Then go to CMD ” Comand Prompt” the picture of cmd is below.
- After you are in CMD you then type java the strike Enter on your Keyboard. If you do not understand the picture is below.
- After you strike Enter it meant to loads some codes.if it loads those codes successfully that means Java is installed successfully on your PC and you are good to go with downloading and installing Android Studio with out any errors. This is what the code is going to look like After Striking Enter The Pictures are below.
Download Android Studio
Google provides Android Studio software for the following systems below:
Android Studio can be downloaded from the Android Studio website,
Download by Clicking Here
where you will also find typical SDK with command-line software from Android Studio. Make sure that your project meets the following requirements before installing Android Studio:
- Microsoft Windows 7/8/10 (32-bit or 64-bit)
- 2 GB RAM minimum, 8 GB RAM recommended or Upward (plus 1 GB for the Android Emulator)
- 2 GB of free disk space minimum, 4 GB recommended (500 MB for IDE plus 1.5 GB for Android SDK and emulator device image)
- 1280 x 800 minimum display resolution
Mac OS requirements
- Mac OS X 10.10 (Yosemite) or higher, up to 10.13 (High Sierra)
- 3 GB minimum RAM, 8 GB recommended RAM (plus 1 GB for Android Emulator)
- 2 GB minimum disk space available, 4 GB recommended (500 MB for IDE plus 1.5 GB for Android SDK and emulator image)
- 1280 x 800 minimum screen resolution.
Specifications for Linux OS.
- Tested on Ubuntu 14.04 LTS, Trusty Tahr (64-bit distribution capable of running 32-bit applications)
- 64-bit distribution capable of running 32-bit applications
- GNU C Library (glibc) 2.19 or later
- 3 GB minimum RAM, 8 GB recommended RAM (plus 1 GB for Android Emulator)
- 2 GB minimum disk space available, 4 GB recommended (500 MB for IDE plus 1.5 GB for Android SDK and emulator system image)
- 12 GB recommended for Android SDK and emulator system image.
Install the correct Android Studio installation file once you have checked that your operating system is compliant with Android Studio 3.5.3 or higher Then you are good to go with the installation.
Installing Android Studio on your PC
The installer replied by presenting the dialog box for Android Studio Setup in Figure 1.
Clicking Next took me to the following screen to refuse the installation of an Android Virtual Device (AVD) or to Continue.
I chose to keep the settings by default. I was taken to the Configuration Settings panel after pressing Next, where I was asked to choose where Android Studio should be installed.
I kept the default location of the installation and clicked Next and was welcomed with the folder panel Choose Start Menu.
I kept setting by default and pressed Download. The following panel for installation appeared:
Clicking Display information will allow you to download file names and show certain activities. The Installation Complete panel appeared when the installation was complete.
The installer provided the Full Android Studio Setup panel after pressing Next.
I left the Start Android Studio box checked and pressed Finish to complete the setup.
Running Android Studio
A full configuration dialog box that provides the option of importing settings from a previous installation introduces the first time Android Studio is running.
I opted not to import settings (default selection) and pressed OK, with the following splash screen being rewarded:
I also saw the following message box Finding Supported SDK Components.
At this point, Android Studio provided the following dialog box for the Android Studio Setup Wizard:
I clicked Next, and I was asked by the wizard to select the type of installation. I kept the default setting of the standard.
I retained the default setting of IntelliJ and pressed Next. Next, Android Studio gave a chance to check settings.
I pressed Finish and began installing SDK components with Android Studio.
It may take a few minutes to complete this part of the setup. Clicking Show Details that ease some boredom by showing the different files that are downloaded and unpacked.
An unwelcome surprise awaited for my AMD-based computer after the components had been completely downloaded and unzipped:
My options are either to use the slow emulator or to speed up development using an Android device. I’ll show you how I’ve solved this problem in Part 3.
Finally, to complete the wizard, I pressed Start. The dialog box for the Welcome to Android Studio appeared.
To start a new Android Studio project, work with an existing project, and more, this dialog box is used. It can be accessed from the Windows Start menu by choosing Android Studio, or the equivalent from another device.
Your First Android Studio mobile app
Using it to develop an app is the best way to get to know Android Studio. We’re going to start with a variation on the “Hello, World” app: a little mobile app that displays a message of “Welcome to Android.”
You will start a new Android Studio project in the steps that follow and get to know the main window, including the editor window you will use to code the app in Part 2.
Starting a new project
You still need to run Android Studio with the Welcome to Android Studio dialog box from our setup so far. Click Start a new project for the Android Studio from here. With the Create New Project Dialog, Android Studio will respond
Click Next you will notice you also have access to work with kotlin in android studio so if you want to work with Kotlin you can tick the icon.
Android Studio allows you to pick target system factors or categories for each application you build. I retained the default setup.
Tap Next, and you’ll have the chance to choose a model for the main activity of your app. We’re going to stick with Empty Operation for now. Select this template (if necessary) and click Next.
You will then configure the activity:
Then you are customize the Activity Name And layout name here.
When you use Android Studio for the first time, you will find that it has to download some files related to its constraint layout, which is used to create responsive user interfaces:
After downloading the restriction template files, Android Studio helps you to finish. Click this button and you will be guided to the main window by Android Studio.
Once you enter the main window, only app and gradle scripts are shown in the Project tab. You will need to expand the project tree’s system branch to see more detail.
The Project window is arranged into a tree whose main branches are the gradle scripts and the program. The branch of the app is also divided into manifestations, java, Java created, and res sub-branches.
Now you are go to go and start developing your first Application with Android Studio because Android Studio has been Successfully installed on your PC.
If you Followed this Steps as i said earlier you would never have any Errors. Please if you like this post please share it to help your friends and others and if you had any issue while following this steps please inform me by commenting below so that i can help you fix the issues.
I WILL BE POSTING MORE CONCERNING ANDROID STUDIO HERE SO STAY UPDATED BY FOLLOWING THIS WEBSITE SO AS NOT TO MISS FUTURE UPDATES.