Skip to content

tyaslab/android-starter

Repository files navigation

Android Starter

A Starter Android Project using Gradle

Prerequisites

To develop Android applications, you need to install Android SDK.

How to Create Android Apps

This starter project name is Starter. Its domain is com.example.starter. Please rename it to fit your own project name and domain.

  1. Make sure you have correct structure below app/src/main/java/ based on your domain. For example, your domain is com.example.starter, then your should have app/src/main/java/com/example/starter/MainActivity.java.
  2. Make sure the package name in MainActivity.java file at first line matchs your domain.
  3. You may also need to check app/src/androidTest/java to matchs your domain.
  4. You may also need to check ApplicationTest.java file at first line matchs your domain.
  5. See AndroidManifest.xml in manifest tag. Check its 'package' attribute.
  6. See app/build.gradle and check 'applicationId'
  7. Rename location.properties.example to location.properties. Set sdk.dir to your Android SDK path.

How to Build

Simply run ./gradlew assembleDebug. At first time, it will download gradle and some dependencies. Please wait for minutes. Downloading is only done once.

Run ./gradlew tasks to list available tasks.

About

A Starter Android Project using Gradle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages