- JDK 17
- Android SDK, API 34 or newer is required
- (optional) A real or emulated device with at least Android 7.0 (API 24) to test build
- (optional, highly recommended) Android Studio or IntelliJ IDEA with Android plugin
- (optional) A Git client
Follow theese steps if you don't have installed IntelliJ/Andoid Studio and want to build Smupe! using Gradle CLI.
-
Verify installation of JDK before you begin:
$ java --version openjdk 17.x.x 20xx-xx-xx
-
Clone the repo using Git:
git clone https://github.com/EgorBron/Smupe cd Smupe -
Create a
local.propertiesfile in the root of the project, and fill it with the path to your Android SDK:sdk.dir=path/to/android/sdk -
Verify installation of Android SDK and Gradle by performing debug build:
$ gradlew assembleDebug ... BUILD SUCCESSFUL in ... -
If build succeeds, the app will be available in
./app/build/outputs/apk/foss/debug/app-debug.apk
If you prefer to use IDE to build, follow theese steps:
- Open IDE and clone project by clicking
Get from VCS - Select
Repository URL->Gitand enter the repo URL - Click
Cloneand wait when project load - Android plugin will show an Android SDK selector pop-up message, where you should select installed Andoid SDK. If there's nothing, follow instructions to install correct SDK.
- After that, click on
Build>Build APKs - If build succeeds, click to
locatein notification. The APK will be available indebugdirectory