Application not listed in Android Auto

5.6k views Asked by At

I'm trying to develop a media application for Android Auto. To help me, I've downloaded the AndroidMediaBrowserService Sample (https://github.com/googlesamples/android-MediaBrowserService). I've succeded in installing the application, but when I launch Android Auto on my phone and I click the Media icon in the bottom right corner, the application is not listed with the other ones and I can't find out why. Can someone help me please ?

4

There are 4 answers

0
Mateusz Kaflowski On

Clearing app data for Android Auto worked for me. Developer mode and unknown sources need to be on in Android Auto of course.

0
Mateusz Kaflowski On

I don't see that in manifest file:

<meta-data android:name="com.google.android.gms.car.application"
        android:resource="@xml/automotive_app_desc"/>

<meta-data android:name="com.google.android.gms.car.notification.SmallIcon"
        android:resource="@drawable/ic_notification" />
1
Harsh On

enable developer mode in android auto emulator as well, so that it can identify your debug version of phone apk. https://www.howtogeek.com/271132/how-to-enable-developer-settings-on-android-auto/

put application mode as developer.

0
Ankur On

If you are trying to test the application in Physical Android Auto device (Real Head Unit), note that the car application will not show up unless you install the app from Google Playstore as mentioned here.

So for development purposes use the Desktop Head Unit (DHU) Emulator.