Skip to content

EmrD/java-android-template

Repository files navigation

Java Android Example

This is an repository for Java on Android usage with Gradle build tools.

Installation

First, clone this repository;

git clone https://github.com/EmrD/java-android-template

or if you working on Google IDX, just click

Open in IDX

to open this repository on IDX. And check the 'This is a Flutter app' button! If you want to use directly on IDX as template, vote my suggestion: https://idx.uservoice.com/forums/953956-general/suggestions/49041032-java-for-android-template

Getting Started

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.

Build On Local Environment

For building your own app, follow these steps after doing previous steps;

  • Edit MainActivity.java and activity_main.xml files to change app content. Also if you want to make changes for Android view, just edit the AndroidManifest.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.