How To Create Android App With App Studio 2016

Today, I am showing you that how to create android app with app studio. In this post you can easy to create android app by using app studio. you can create high quality softwares with the help of app studio. It is the integrated development environment for android platform. It was announced on may 16 2013.To run the android studio the ram should be 2gb and disk space should be 500mb.It was announced at google i/o conferance. It is available for download on windows, mac OS X and linux. This post will finally teach you that how to create android app with app studio.

How To Create Android App With App studio

Create Android App With Android Studio

Before you can build an app, you need to set up your development environment:

Download and install Android Studio.

Launch Android Studio.

From the Quick Start menu on the welcome screen, select Configure > SDK Manager.If you already have a project open, you can open the SDK Manager by selecting Tools > Android > SDK Manager from the Android Studio menu bar.

In Android SDK Manager, select the following items and then click Install packages:

Tools/Android SDK Tools

Tools/Android SDK Platform-tools

Tools/Android SDK Build-tools

Android API (currently recommended: API 19)

Extras/Google Repository

Extras/Android Support Repository

Create a new project

Launch Android Studio.

In the Welcome to Android Studio screen, choose New Project.

In the New Project window, enter the application name, module name, package name, and project location.This example uses CouchbaseEvents for the application name.

Set the minimum required SDK to API 9: Android 2.3 (Gingerbread) or later and use the currently recommended Android API.After you fill in the fields, the New Project window should look something like this:

Click Next, and then move through the remaining setup screens and enter settings as necessary (or just accept the defaults).

Click Finish.

Add Couchbase Lite Dependencies

Add Couchbase Lite Dependencies

Expand the app folder, and then open the build.gradle file.You should see a file that looks something like this:If the build.gradle does not contain an android section, then you are looking at the wrong one. Make sure you open the one in the CouchbaseEvents folder (and not the one at the project level).

Running the empty app at this point verifies whether the dependencies are set up correctly.

In the Android Studio tool bar, click Run.

When prompted, start the emulator.You should see the app start in the emulator and the text “Hello World” in the app window, similar to the following figure:

TroubleshootTroubleshoot

If the app doesn’t run properly for you, try the following troubleshooting tips.

Errors in the build.gradle file are a common cause of problems:

Double-check the spelling of all entries in the file.

Make sure all code added to the file is located in the correct sections.

Verify the path for Couchbase Lite in the compile statement in the dependencies section.

Compare your files to these sample build.gradle files. They should match other than the versions.

Couchbase Lite for Android might not build correctly with ProGuard. If you get build errors that mention ProGuard, you can disable it by changing the build.gradle file `minifyEnabled` property (formerly `runProGuard`) in the androidsection to false.