Skip to content

Commit

Permalink
fixed build doc
Browse files Browse the repository at this point in the history
  • Loading branch information
andresoviedo committed Dec 26, 2024
1 parent ca453d7 commit 8a104a5
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,17 @@ You can install the application in either of these ways:
* APK: [app-release.apk](app/build/outputs/apk/release/app-release.apk)
* Source code: clone the repository, compile with gradle and install with adb


Compilation
===========

Script to build an apk package and run in your device.
- Git 1.6.5 or later is required
- Android Gradle plugin requires Java 17 to run

```
git clone --recursive https://github.com/the3deer/android-3D-model-viewer.git
cd android-3D-model-viewer
export ANDROID_HOME=/home/$USER/Android/Sdk
./gradlew assembleDebug
adb install -r app/build/outputs/apk/app-debug.apk
Expand Down Expand Up @@ -206,4 +216,4 @@ Assets
* skybox sea : https://learnopengl.com/Advanced-OpenGL/Cubemaps
* skybox sand : Copyright 2012 Mobialia - https://github.com/mobialia/jmini3d
* models (parts) : Community contribution (Professor S)


0 comments on commit 8a104a5

Please sign in to comment.