android / car-samples

Multiple samples showing best practices for car app development on both Android Auto and Android Automotive OS.
Apache License 2.0
358 stars 166 forks source link

Timed out waiting for process (androidx.car.app.sample.showcase) to appear on [Emulated Device] #37

Closed nsmehel closed 2 years ago

nsmehel commented 2 years ago

I am having this error message when I try to install it to the emulated device. I have the Android 6.0 and Tiramisu SDK's installed.

It is not specific to any project actually, I gave the example of showcase for the reason of the latest commit updating its CAL version.

Steps to reproduce:

After these steps, I get the following console output

10/25 17:31:49: Launching 'showcase.mobile' on Pixel XL API 33.
Install successfully finished in 529 ms.
Timed out waiting for process (androidx.car.app.sample.showcase) to appear on Pixel_XL_API_33 [emulator-5554].

It is also the same for places.mobile app. For Navigation, the app is installed on the device but nothing happens when I click on the buttons in the app window.

nsmehel commented 2 years ago

Looks like I got this wrong. As it seems these samples do not have a code part that makes them appear on the phone, but they appear on the Desktop Head Unit. After I clicked on Start Head Unit Server from the phone, the apps appeared on the DHU and could be used.