Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run any of the sample in Android Device or Automotive emulator #17

Open
Swati90 opened this issue Jun 23, 2021 · 10 comments
Open

Comments

@Swati90
Copy link

Swati90 commented Jun 23, 2021

Screenshot_1624432090
Screenshot_1624432090

@mani-apps
Copy link

mani-apps commented Jun 23, 2021

Yup same problem here I reported in this issue #16, anyone can help us? They have updated last week to implementation "androidx.car.app:app-automotive:1.1.0-alpha01" and "androidx.car.app:app:1.1.0-alpha01" and I think the README file is not up to date here? not really sure how to run it now, can find any documentation on it either since it's all really recent.

@Greathyx
Copy link

Same here. I am using Android Studio 2.4.1, but I still got the problem.

@mani-apps
Copy link

mani-apps commented Jun 24, 2021

@kokoro-team @yjm607 can someone help us with this? using 4.2.1 too

@ikbalkaya
Copy link

Same here

@SamuelBrucksch
Copy link

Try version 1.0.0 instead of 1.1.0-alpha01 or enable beta in playstore for android auto.

@derjohng
Copy link

derjohng commented Aug 5, 2021

Same here. And, I got the error message as below.
E/CarApp.Act: No handlers found for intent: Intent { act=android.car.template.host.RendererService }

@mani-apps
Copy link

mani-apps commented Aug 17, 2021

From what I understood (and Google added to the readme) they released this new way of building automotive apps using Screens/templates but then they don't have a public Host to render these templates available yet.

Basically, the new automotive apps based on Screens/Templates (instead of activities/fragments) will not run on android automotive emulators for god knows how long? Find this really weird, how do we test the apps then?

Would be good if someone from Google Automotive team would help us, or reply to any issues 🤔

@blad
Copy link

blad commented Oct 25, 2021

This comment is not a solution to running apps on the Android Automotive OS Emulators. I ran into the same issue noted above, running the app in the emulator yields a message to update.

Screen Shot 2021-10-25 at 2 00 12 PM

If one is trying to get the apps to simply run, the way forward is to use the Desktop Head Unit(DHU).

  • Install the DHU
  • Run the DHU
  • Build and Install the App via Studio or CLI
  • App should show up on the DHU. If it does not show then stop the DHU and start the DHU again, I've noticed that installing a new app does not automatically refresh the DHU.

@vy12021
Copy link

vy12021 commented Dec 10, 2021

There have a new different error when running the sample app on the latest AAOS emulator (api level 31 reversion 2), as below is the error logs:
CarApp.Act: Host service ComponentInfo{com.google.android.apps.automotive.templates.host/com.google.android.apps.automotive.templates.host.stub.ServiceStub} rejected the binding request

the error screenshot is still the top issue presented.

the error on the aaos for API level 31 reversion 1 as below:
E/CarApp.Act: No handlers found for intent: Intent { act=android.car.template.host.RendererService }

so, I guess that the render service has been implemented on the latest AAOS build, but something is still wrong,
really need the aaos team for help currently.

@vy12021
Copy link

vy12021 commented Feb 7, 2022

The sample app works on the AAOS after updating the Host App to the latest via the Play store, You can try the README file section for details: Run the Automotive Apps in the Automotive OS Emulator, special the update guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants