Step 1 – System Requirements
You might be delighted, to know which you could begin your Android utility improvement on both of the next working techniques −
- Microsoft® Windows® 10/8/7/Vista/2003 (32 or 64-bit)
- Mac® OS X® 10.8.5 or increased, as much as 10.9 (Mavericks)
- GNOME or KDE desktop
Second level is that each one the required instruments to develop Android purposes are open supply and might be downloaded from the Web. Following is the checklist of software program’s you’ll need earlier than you begin your Android utility programming.
- Java JDK5 or later model
- Java Runtime Environment (JRE) 6
- Android Studio
Step 2 – Setup Android Studio
Android Studio is the official IDE for android utility improvement.It works based mostly on IntelliJ IDEA, You can obtain the newest model of android studio from Android Studio 2.2 Download, If you’re new to putting in Android Studio on home windows,you will see a file, which is known as as android-studio-bundle-143.3101438-home windows.exe.So simply obtain and run on home windows machine in response to android studio wizard guideline.
If you’re putting in Android Studio on Mac or Linux, You can obtain the newest model from Android Studio Mac Download,or Android Studio Linux Download, test the directions supplied together with the downloaded file for Mac OS and Linux. This tutorial will take into account that you will setup your setting on Windows machine having Windows 8.1 working system.
So let’s launch Android Studio.exe,Make certain earlier than launch Android Studio, Our Machine ought to required put in Java JDK. To set up Java JDK,take a references of Android setting setup
Once you launched Android Studio, its time to say JDK7 path or later model in android studio installer.
Below the picture initiating JDK to android SDK
Need to test the elements, that are required to create purposes, under the picture has chosen Android Studio, Android SDK, Android Virtual Machine and efficiency(Intel chip).
Need to specify the placement of native machine path for Android studio and Android SDK, under the picture has taken default location of home windows 8.1 x64 bit structure.
Need to specify the ram house for Android emulator by default it will take 512MB of native machine RAM.
At remaining stage, it will extract SDK packages into our native machine, it will take some time time to complete the duty and would take 2626MB of Hard disk house.
After finished all above steps completely, you need to get end button and it gonna be open android studio undertaking with Welcome to android studio message as proven under
You can begin your utility improvement by calling begin a brand new android studio undertaking. in a brand new set up body ought to ask Application title, package deal data and placement of the undertaking.
After entered utility title, it going to be referred to as choose the shape elements your utility runs on, right here have to specify Minimum SDK, in our tutorial, I’ve declared as API23: Android 6.0(Mashmallow)
The subsequent stage of set up ought to comprise choosing the exercise to cellular, it specifies the default structure for Applications
At the ultimate stage it going to be open improvement instrument to write down the applying code.
Step 3 – Create Android Virtual Device
To check your Android purposes, you’ll need a digital Android machine. So earlier than we begin writing our code, allow us to create an Android digital machine. Launch Android AVD Manager Clicking AVD_Manager icon as proven under
After Click on a digital machine icon, it going to be proven by default digital gadgets that are current in your SDK, or else have to create a digital machine by clicking Create new Virtual machine button
If your AVD is created efficiently it means your setting is prepared for Android utility improvement. If you want, you’ll be able to shut this window utilizing prime-proper cross button. Better you re-begin your machine and as soon as you’re finished with this final step, you’re able to proceed on your first Android instance however earlier than that we’ll see few extra necessary ideas associated to Android Application Development.
Hello Word Example
Before Writing a Hello phrase code, you need to find out about XML tags.To write hiya phrase code, it is best to redirect to App>res>structure>Activity_main.xml
Need to run this system by clicking Run>Run App or else have to name shift+f10key. Finally, consequence ought to be positioned at Virtual gadgets as proven under