Installation Guide
This guide will walk you through setting up TecMeli on your local machine. The process is straightforward and should take about 10-15 minutes.Prerequisites
Before you begin, ensure you have the following installed:Required Software
Android Studio
Download and install Android Studio Ladybug | 2026.1.1 or later.TecMeli uses the latest Android development tools and requires a recent version of Android Studio.
JDK 11 or Higher
TecMeli requires Java 11 for compilation. Android Studio typically includes a compatible JDK.Verify your Java version:The project’s build configuration specifies:
build.gradle.kts
System Requirements
| Component | Minimum | Recommended |
|---|---|---|
| RAM | 8 GB | 16 GB or more |
| Disk Space | 4 GB | 8 GB or more |
| OS | Windows 10, macOS 10.14, Linux | Latest stable release |
The Gradle build system will download additional dependencies automatically during the first build. Ensure you have a stable internet connection.
Clone the Repository
Clone the TecMeli repository to your local machine:Terminal
Project Structure Overview
After cloning, you’ll see the following structure:SDK Configuration
TecMeli targets the latest Android SDK versions:app/build.gradle.kts
Install Required SDK Components
Install SDK Platform 36
In the SDK Platforms tab, check:
- Android API 36 (latest)
- Android 8.0 (Oreo) API 26 (minimum supported)
Gradle Sync
Android Studio will automatically trigger a Gradle sync when you open the project. This process:- Downloads all dependencies specified in
libs.versions.toml - Configures the build system
- Indexes the codebase
Key Dependencies
The project uses these major dependencies (fromgradle/libs.versions.toml):
libs.versions.toml
Build Plugins
TecMeli uses several Gradle plugins configured inapp/build.gradle.kts:
app/build.gradle.kts
Plugin Responsibilities
- android.application: Core Android app plugin
- kotlin.compose: Kotlin compiler plugin for Compose
- hilt: Dependency injection code generation
- ksp: Annotation processing for Hilt (faster than kapt)
- serialization: JSON serialization support
- jacoco: Test coverage reporting
Verify Installation
After Gradle sync completes successfully, verify your installation:1. Build the Project
Terminal
- Compiles all Kotlin source files
- Processes annotations for Hilt
- Runs lint checks
- Executes unit tests
On Windows, use
gradlew.bat instead of ./gradlew2. Run Tests
Run the unit test suite to ensure everything is working:Terminal
- Repository implementations
- Use cases
- ViewModels
- Network layer (with MockWebServer)
3. Generate Test Coverage Report
Terminal
Troubleshooting
Gradle Sync Fails
Error: Unsupported Java version
Error: Unsupported Java version
Solution: Ensure you’re using JDK 11 or higher.In Android Studio:
- Go to File → Project Structure → SDK Location
- Set the JDK location to a Java 11+ installation
Error: Could not resolve dependencies
Error: Could not resolve dependencies
Solution: Check your internet connection and Gradle cache.
Error: KSP plugin not found
Error: KSP plugin not found
Solution: Update your Gradle version.The project uses KSP version
2.0.21-1.0.27 which requires Gradle 8.0+Build Fails
Error: BuildConfig cannot be resolved
Error: BuildConfig cannot be resolved
Solution: Ensure build features are enabled in
app/build.gradle.kts:Next Steps
Now that you have TecMeli installed, you need to configure your Mercado Libre API credentials:Configuration
Learn how to set up API credentials and configure the application