Build from Android Studio

Import Project

A sample android project imported into Android Studio is as below

The "play" button will generally run the last run configuration. To see the list of all configurations, click the dropdown in the app dropdown as below


Click Edit Configurations

Feel free to click each of the tabs and customize as needed. In this book, we go with defaults.

Project Views

Android Studio provides different views for the project viz.

  • Project
  • Packages
  • Scratches
  • Android
  • Project files
  • Problems
  • Production
  • Tests

The version of Android Studio when writing this book is

Project View

Switch to the project view so that you can see the changes as Android Studio builds the project.

After running the build configuration, the /app/build/outputs folder would appear and the *.apk file as well.

Note: Since we configured Android Studio to use the System Gradle and System Android sdk (See Android System Setup section), the resultant output should be the same as that of running from command line in previous section.

apk file - debug mode

The output we are interested in is the .apk file generally found in the relative folder path /app/build/outputs/apk

The debug app is generally named "app-debug.apk"

results matching ""

    No results matching ""