Add support for Android Auto to your templated app

Review the following information to learn how make changes to your app's manifest so that Android Auto can discover and interact with your app's CarAppService.

Declare Android Auto support

The Android Auto host checks whether the app has declared support for Android Auto. To enable this support, include the following entry in your app's manifest:


This manifest entry refers to another XML file that you create with the path AppProjectDirectory/app/src/main/res/xml/automotive_app_desc.xml. In that file, you declare what Android Auto capabilities your app supports.

Apps using the Android for Cars App Library must declare the template capability in the automotive_app_desc.xml file:

    <uses name="template" />