Skip to main content

Project setup

Follow the steps below to get your Android Studio project up and running with the CoPilot Native Nav SDK and its components. You can also view sample projects and code in our public GitHub repository.

  1. Open your project in Android Studio
  2. Open up your project-level settings.gradle file (settings.gradle.kts file in Kotlin)
  3. If there is already a dependencyResolutionManagement block in the build.gradle file, copy the Trimble Maps repository in there:
  1. Open up your module-level build.gradle file.
  2. Ensure your project’s minSdk version is at API 21 or higher.
  3. Under dependencies, add a new build rule for the latest SDK:
dependencies {
	implementation("com.trimblemaps.navigation:ui:1.4.2")
	implementation("com.trimblemaps.mapsdk:maps-sdk-services:1.4.0")
}
  1. Enable Jetifier in your gradle.properties file.
android.enableJetifier=true
  1. Build and synchronize your project.

  2. Enable the appropriate permissions and authenticate your credentials.

Last updated March 28, 2025.