OXOO Envato Project Setup Documentation:
-
JDK Installation
-
Download and install the latest JDK (currently using version 23).
-
Optionally, set the environment path for Java for ease of access.
-
-
Android Studio Setup
-
Download and install the latest Android Studio (currently using Ladybug Feature Drop 2024.2.2).
-
Open Android Studio after installation is complete.
-
-
SDK & Tool Dependencies
When setting up Android Studio, ensure the following components are installed:-
Android SDK: Versions 15 & 14.
-
Android SDK Platform: Version 34.
-
Android SDK Build Tools: Versions 36.0.0-rc3, 35.0.0, and 34.0.0.
-
NDK (Native Development Kit): Versions 28.0.1267, 27.2.1247, and 21.3.6528147 (recommended for the project).
-
Android SDK Command Line Tools: Currently using version 17.0.
-
CMake: Versions 3.31.1 and 3.10.2.4988404 (recommended for the project).
-
Possible Bug Fix / Issue Fix Guidelines:
-
Java Version Compatibility
-
Always use Java 21 or higher.
-
Verify the installed version by running
java -version
in the terminal.
-
-
Gradle & Distribution Version
-
Recommended Distribution Url version: 8.12.
-
Avoid downgrading unless absolutely necessary.
-
-
Android SDK & Build Tools
-
Ensure Android SDK Platform Tools and Build Tools are up-to-date.
-
Install the following if missing:
-
Android SDK Build Tools: 36.0.0-rc3, 35.0.0, and 34.0.0.
-
-
-
Dependency Updates
-
Always update dependencies before running the project.
-
Resolve conflicts using
gradlew dependencies
.
-
-
NDK and CMake Compatibility
-
Use recommended NDK versions: 28.0.1267, 27.2.1247, and 21.3.6528147.
-
Ensure CMake versions 3.31.1 and 3.10.2.4988404 are installed.
-
-
Fixing Common Issues
-
Build Fails: Run
gradlew clean
and rebuild the project. -
App Crashes: Check logs using
adb logcat
. -
Dependency Issues: Run
gradlew --refresh-dependencies
.
-
-
Android Studio Configuration
-
Use Android Studio Ladybug Feature Drop 2024.2.2 or newer.
-
Ensure Android SDK Platform 34 is installed.
-
By following these steps and guidelines, you can set up and troubleshoot the OXOO project effectively.