Skip to main content

Android Studio

The first and most important piece of software you need to download is Android Studio. After you have downloaded and installed Android Studio , you can use the SDK Manager to download and install multiple versions of the Android SDK. Having multiple version of the SDK available enables you to write programs that target different devices. For example , you can write one version of an application that specifically targets Android Nougat , but because that flavor Android is on less than 1% of devices, with multiple versions of the SDK you can also write a version of your app that uses older features and targets Marshmallow or Lollipop users. You can use Android Device Manager to set up device emulators.

You can Download Android Studio from https://developer.android.com/studio

Android Studio is packaged in an executable. Run the install process to set up Android Studio. After you've download and run the setup executable, use the following steps to go through the installation process:


1. Click to DOWNLOAD ANDROID STUDIO.


2. Accept the terms and conditions.

3.If you have and older version of Android Studio already installed in your Computer,the Android Studio Setup prompts you to automatically uninstall it.Even though the old version of Android Studio will be uninstalled , the settings and configurations are retained. You have an opportunity to reapply those settings and configurations to Android Studio after the setup has completed. the screen where you are prompted to uninstall an old version of Android Studio.

4. Click Next on the Welcome to Android Studio Setup Screen.


5. Pick which components of Android Studio you want to install from the Screen Shown.Android Studio is selected by default(and cannot be deselected) , which makes sense given that you are going through all of this trouble for the distinct purpose of installing Android Studio. Android SDK and Android Virtual Device are also selected by default. Click Next to accept the default choices and continue.


6. You are presented with the License Agreement , as shown .Click I Agree to continue.


7. On the configuration settings screen,it is best to accept the default locations specified by the setup process and click Next to continue. You see the Choose Start Menu Folder screen. Click Install to kick off the Android Studio installation.


8.Installing Android Studio could take a few minutes , depending on the speed of your computer. You are presented with a progress bar to help you track the state of the installation. Android studio in installed with a default SDK (Software Development Kit). Later in the process you have the opportunity to install other SDKs.The Android SDK allows you to develop and write applications geared for a specific version of Android. In other words, applications written with the Marshmallow SDK run on Android devices running Marshmallow , but they also possibly run on other version depending on which features of the SDK you used in the application.

9. When the install is complete , you will see a Completing Android Studio Setup Screen. Leave the Start Android Studio checked and click Finish.


10. Android Studio prompts you to either import settings from a previous version of Android Studio or continue with new settings. If you uninstalled a previous version in the first step of the installation process, Android Studio offers you a chance to recover the setting used in that previous version and apply them to Android Studio.


Now that Android Studio is installed , you need to adjust the settings and options using the Following Steps:

1. Click Continue at the Welcome screen and choose Standard from the Install Type selection screen shown Next to continue.

 2. Click finish on the Verify Setting screen , and Android Studio finalizes the setup process You Know the process is complete when you are greeted with the Welcome to Android Studio Screen.


Now that Android Studio is set up, it's time to install the latest and greatest Android SDK.

You can not Understand That then you can see the video on :- https://youtu.be/6Wh4AE5USrw

Comments

Popular posts from this blog

Applying Styles and Themes to an Activity

By default , an activity is themed to the default Android theme. However , there been a push in recent year to adopt a new theme known as Material . The Material theme has a much more modern and clean look to it. There are two versions of the Material theme available to Android developers : Material Light and Material Dark , Either of these themes can be applied from the AndroidManifest.xml To apply one of the Material themes to an activity , simply modify the <Application> element in the AndroidManifest.xml file by changing the default android:theme attribute. (Please be sure to change all instances of "com.android" to whatever package name your project is using.) <?xml version="1.0" encoding="utf-8"?> <manifest xmls:android="http://schemas.android.com/apk/res/android"        xmlns:tools="http://schemas.android.com/tools"        package="com.android.activity101">        <application          

Using Code Completion

Code completion is an invaluable tool that shows you contextual options for completing the piece of code that you are trying to write. For example, in the editor tab for the MainActivity.js file, locate the line that reads.          setContentView(R.layout.activity_main); Place your cursor after this line and press the Enter Key . On the new line , type the letter R , and then type a period, as shown here:          R. Android Studio Code Completion should display a list of values that you could use to try to complete the code statement. Figure shows what this list might look like . this is important if you are not entirely sure of the spelling of a method call or how to identify the different method signatures. NOTE if the code completion window does not open , press Ctrl + Space to force it to open. This is the same key combination used in some other IDEs for their versions of the code completion. You can also use code completion to insert code stubs into your classes

Now in Android

Android Studio 4.2 discharged to steady channel   Android Studio 4.2 is now available in the stable release channel. Read the blog for detailed information on what’s new, including a new tool to help migrate your project to the latest Android Gradle Plugin version. We’ve also enhanced lots of stuff such as Database Inspector , System Trace , SafeArgs support, Apply Changes, and the new project wizard. As always, download here and file issues here .           Hilt is stable and ready for production Manuel Vivo wrote about the stable release of Hilt , Android Jetpack’s recommended dependency injection (DI) solution for Android apps. Hilt is a simpler, more opinionated way to leverage the power of the Dagger DI library, eliminating boilerplate and reducing errors. It provides direct injection support for popular Jetpack libraries such as ViewModel, WorkManager, Navigation, and Compose. ( DI Basics , Documentation )   Google Play updates   Google Play announced upcoming polic