How to setup android development environment in local machine

Posted By : Gaurav Prakash Ranjan | 30-Dec-2020

android

Loading...

Setup Process For Android Development in Local Machine

1. Install JDK in Local Machine

For android development, we need to install JDK because while creating an android app using Java language and after writing code, we need a JDK to compile these code.

2. Install JDK in Local Machine

For android development we need to install JDK because in creating an android app using Java language and after writing code we need a JDK to compile these code.

3. Install Android Studio in Local Machine

Download and Install Android studio using the default setting to click next and next to finished. For developed android apps we need an editor which provides all tools to develop android app and compile & build to create apk file for use this app.

4. Configure Android Studio for Developed App:

We start android studio first time then ask me to some configuration-

  • Select do not import Android Studio settings, because we set up for beginners to develop an android app.
  • Delete the old directory if it exists in your local machine.
  • Then he asks me to send some personal information to google or not, then you select an option according to your choice.
  • Welcome window is open then click on the next button.
  • Select Stanford type of setup for beginners.
  • Secte any one theam according to your choice.
  • Download some sdk environment so connect your local machine to the internet and click next.
  • Enable virtualization for working fine android studio in local machine.

5. Create new project to developed android app:

  • Clicked to start a new android studio project
  • Select any activity of your choice, For beginners, we select empty activity.
  • Enter your project name, package name, select language Java and select the minimum version of our app.

6. Android Studio project Structure:

Structure of android project in android studio are as-

ProjectName

app

manifests

AndroidManifest.xml

java

pakeg.name

MainActivity

pakeg.name(android test)

pakeg.name(test)

res

drawable

layout

activity_main.xml

menu

menu_main.xml

mipmap

ic_launcher.png

ic_launchar.png(hdpi)

ic_launchar.png(mdpi)

ic_launchar.png(xhdpi)

ic_launchar.png(xxhdpi)

values

dimens.xml

colors.xml

strings.xml

style.xml

  • manifests: It is a mandatory file for every android app project. It controls the name of the app, describes the activity information etc.
  • java: it contains the source code of java language for android app.
  • layout: It manages the android app screen layout.
  • menu: It is contain all information about android app menu
  • mipmap: It contains all android app launcher icons.
  • values: It contains all types of constant value.

Now, configuration is complete for developing any android app in our local machine.

At Oodles, we provide full-scale ERP software development services to streamline enterprise processes with advanced problem solving capabilities. To know more about our custom ERP application development services, visit erpsolutions.oodles.io.