Android Auto Development setup

Hi All, I am not sure if this is post is ok here so please let me know if not. I did not see any other android community that was a decent size for development so figured there might be some devs in here.

I recently forked an FOSS project that has an android auto component to it. I don't have a physical device to test with in my car so I need to set up an emulator.

Challenge is, I am struggling to figure out how to do so, from what I can gather, it is either the same? or you can launch from a local device connected via usb and it launches to an emulator as if it was a head unit? I am clearly missing something and all the articles I've seen have not really gotten me over the finish line.

Any links or tips appreciated!

24 points · 3 comments · view on lemmy.world

3 Comments

6nk06@sh.itjust.works · 3 pts · 304d (2 replies)

It seems that you can use an official emulator: https://developer.android.com/training/cars/testing/dhu

eddyizm@lemmy.world · 3 pts · 304d

Thanks! I will check this out. Not sure why but every time I searched I kept getting android automotive.

eddyizm@lemmy.world · 2 pts · 293d

Just wanted to come back to thank you. I was able to get this going but was still racking my head with an error and it was failing until I finally got a tip that I needed to use my physical device and the desktop headunit - that last block was trying to use the emulator with the desktop head unit.

Thanks again for your help!