Articles → Android → Create Our First Android Project Using Android Studio

Create Our First Android Project Using Android Studio






Create Your First Project




  1. Open android studio.
  2. Click on ‘Start a new Android Studio project’ link.
  3. Picture showing the android studio with Start a new Android Studio project link
    Click to Enlarge

  4. Next window allows you to select the templates. I am selecting an ‘Empty Activity’ template and click on ‘Next’.
  5. Picture showing the list of project templates in android studio
    Click to Enlarge

  6. In the next window, you can set the project name, path and the language you are using for programming. Click on ‘Finish’.
Picture showing the window to configure the project in android studio
Click to Enlarge



Picture showing the project explorer of the first project in android studio
Click to Enlarge


UI XML Layout File






Picture showing the UI xml file in project explorer of the android studio
Click to Enlarge



Picture showing the code of the UI xml file  in android studio
Click to Enlarge


Run The Application




  1. Using the Run 'app' option in Run menu
  2. Picture showing the Run App option for running the android application
    Click to Enlarge

  3. Pressing SHIFT + F10 button
  4. Click on Run icon


Picture showing the run icon for running the application in android studio
Click to Enlarge


APK File








Picture showing the Build APK option for creating the apk file of an android application
Click to Enlarge




Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, August 27, 2019

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250