Build games for Android Automotive OS

There is one additional technical requirement to build games for Android Automotive OS beyond those described in Build parked apps for Android Automotive OS.

Mark your app as a game app

To indicate that your app is a game, you must add the android:appCategory="game" attribute to the <application> element of your manifest.

<manifest ...>
    ...
    <application
      ...
      android:appCategory="game"
      ...
      >
        ...
    </application>
</manifest>

Declare support for game controllers (optional)

If your app supports controller input, include the following manifest declaration for the android.hardware.gamepad feature, as OEMs can use this information to improve the user experience:

<application ...>
  ...
  <uses-feature android:name="android.hardware.gamepad" android:required="false"/>
  ...
</application>