AI-generated Key Takeaways
-
This guide explains how to set up the Navigation SDK for Android, including build configuration requirements for versions 5.0.0 and later.
-
You need a Google Cloud project with the Navigation SDK enabled and an API key to start using the SDK.
-
Your Android app must target Android 13 (API level 33) or higher and have a minimum SDK version of Android 6 (API level 23) or higher.
-
The Android device running your app needs Google Play services, at least 2GB of RAM, and OpenGL ES 2.0 support.
-
You cannot use the Navigation SDK and the Maps SDK in the same app, as the Navigation SDK replaces the Maps SDK's functionalities.
This page explains the process for setting up the Navigation SDK for Android, and lists the build configuration requirements for Navigation SDK version 5.0.0 and later. The instructions assume you have Android Studio installed and are familiar with Android development.
Navigation SDK setup process
To set up and start using the Navigation SDK, you first need to configure your Google Cloud project and obtain an API key that has the Navigation SDK enabled. Then you can set up your Android Studio project by adding both the SDK and your API key.
Minimum requirements for using the Navigation SDK
These requirements apply to Navigation SDK for Android versions 5.0.0 and later.
A Google Cloud console project with the Navigation SDK enabled.
Your app must specify Android versions as follows:
- the target version must be Android 13 (API level 33) or higher.
- the minimum version must be Android 6 (API level 23) or higher.
To run an app built with the Navigation SDK, the Android device must meet the following requirements:
Google Play services installed and enabled.
2GB of RAM or more.
OpenGL ES 2.0 support. See the Android Open Source Android 6.0 Compatibility documentation for 2D and 3D Graphics Acceleration
Attributions and licensing text must be added to the app.
What's next
The first step for setting up the Navigation SDK for Android is to create and configure a Google Cloud project.
Set up the Navigation SDK for Android