google / android-emulator-m1-preview

Apache License 2.0
1.83k stars 161 forks source link

Android TV Emulator #63

Open jeffreyabarrios opened 3 years ago

jeffreyabarrios commented 3 years ago

Hi, Im working on a mac mini M1. Regarding the message here on the repo:

Support for downloading the M1-based emulator was added to SDK Manager, so it's not necessary to go to the Github releases page to download a standalone .app anymore. In AVD Manager go to the Other Images tab as by default it doesn't show the ARM64 images.

I have tried with the latest releases of Android Studio, and the latest updates of SDK... Even tried the Arctic Fox releases, but still haven't been able to run any TV Emulator. I keep getting this error:

Screen Shot 2021-07-29 at 9 41 27 PM

And this error happens with any emulator and any API available. Is there any fix or workaround to be able to launch an Android TV emulator on m1?

hannesa2 commented 3 years ago

I recommend to start from CLI to see proper error message

jeffreyabarrios commented 3 years ago

From CLI I get the following:

Android_TV_1080p_API_23 - (armeabi-v7a)

ERROR:android/android-emu/android/qt/qt_setup.cpp:28:Qt library not found at ../emulator/lib64/qt/lib Could not launch '/Users/user/project/../emulator/qemu/darwin-x86_64/qemu-system-armel': No such file or directory

Android_TV_1080p_API_30 (x86)

PANIC: Missing emulator engine program for 'x86' CPU.

And those are the two types of API available for the emulators (cpu/abi)

@hannesa2

hannesa2 commented 3 years ago

I see. It looks like it's not possible (from GUI)

TV

When I create

image

I get this system images

image

There is no necessary arm64-v8a

Phone

image

But I see this necessary arm64-v8a image

davidrenji commented 3 years ago

I have the same issue, any help would be appreciate it. Thanks.

tiwari-gaurav commented 3 years ago

Having the same issue, please help to find the solution ASAP.

iMro0t commented 3 years ago

+1 I am waiting for months. I also couldn't find any proper resource to build the image myself. also not sure if we can use custom-built image

todorone commented 2 years ago

@ColtonIdle @741g @LFY We still do not have any AVD image for Android TV and it's the huge pain. Can you give us a hint on how we can overcome it?

luiscurini commented 2 years ago

Hi we have 2 projects and 1 upcoming running on Google TV / Android TV. The majority of our team is migrating to new Apple Silicon Macbooks and it's a huge hassle to have to develop using real devices. Do you have an ETA when at least one API level for arm64-v8a will be available?

ColtonIdle commented 2 years ago

@luiscurini I would file a bug on androids official issue tracker. If you leave a link here I'll star it. =)

luiscurini commented 2 years ago

@ColtonIdle while searching on the issue tracker, I found an existing ticket for M1 and Android TV. https://issuetracker.google.com/issues/203238268

If you prefer I could also create a ticket with more description, but I just want to avoid duplicated issues.

todorone commented 2 years ago

@luiscurini Starred linked issue. I guess no need to create the extra one, just maybe add an extra comment if relevant?

ivankostadinovic commented 2 years ago

I am also affected by this. It's sad to see how little attention AndroidTV/GoogleTV app development is getting, a year after M1 chip came out commercially still there is no AndroidTV emulator..

ahmetberkinc commented 2 years ago

We are also faced with same issue. We can not run the Android TV emulator on Macbooks with M1 chip. We need a solution on this.

Delorfindel commented 2 years ago

+1. Working on real devices since few months now and it feels like android tv has been completely forgot with apple silicon.

iambenmitchell commented 2 years ago

I have never used Android Studio before, is it (still) not possible to emulate a Google TV on M1 macOS?

M1 has been out for over a year now...

steedles commented 2 years ago

If anyone gets word on a working Android TV emulator for M1, I'd love to see it. I have to use my old Windows laptop for now. And I have a new M1 coming soon, would love to be able to work on it.

maxmitchenko commented 2 years ago

Hi everyone! Does anybody knows if there is Android TV OS for M1 in beta versions of Android Studio (Canary, Beta...)? Or maybe its planning?...

LastxTemplar commented 2 years ago

bump. also how come no-one from the actual team give at least a comment here, feels like android tv has been abandoned.

luiscurini commented 2 years ago

@LastxTemplar they posted here: https://issuetracker.google.com/issues/203238268#comment7 that they're in active development. I don't think they will be replying much here.

davide-bertola-deltatre commented 2 years ago

this is much needed !! Makes even more sense now that emulators on M1 Macs are so performant and usable

mlahp7 commented 2 years ago

Google just released some arm images for google tv https://issuetracker.google.com/issues/203238268#comment81

davidrenji commented 2 years ago

The API 12 TV for M1 version It's working fine for me at the moment. Thank you!

image

klausbadelt commented 2 years ago

We're still missing all of the lower API levels - only 31 and 33 are available...

ghost commented 2 years ago

I can install Tiramisu and S. But, these images are not rooted. Any way to root them? Or when will we get rooted image support for Google TV?