This is an repository for Java on Android usage with Gradle build tools.
First, clone this repository;
git clone https://github.com/EmrD/java-android-template
or if you working on Google IDX, just click
After cloning this repository;
-
Install the requirements such as Android SDK, NDK, Java, Gradle, SDK Manager, Android Platform API, AVD Manager, Android Build Tools...
-
Set up your
ANDROID_HOME
variable to your Android SDK path.
For building your own app, follow these steps after doing previous steps;
-
Edit
MainActivity.java
andactivity_main.xml
files to change app content. Also if you want to make changes for Android view, just edit theAndroidManifest.xml
file. -
Run
gradle assembleDebug
to start the build. -
If you get any error, you can search in some search engines or just open an issue on this repository.