android-emulator-m1-preview icon indicating copy to clipboard operation
android-emulator-m1-preview copied to clipboard

Android TV Emulator

Open jeffreyabarrios opened this issue 2 years ago • 24 comments

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?

jeffreyabarrios avatar Jul 30 '21 03:07 jeffreyabarrios

I recommend to start from CLI to see proper error message

hannesa2 avatar Jul 30 '21 05:07 hannesa2

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

jeffreyabarrios avatar Jul 30 '21 05:07 jeffreyabarrios

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

hannesa2 avatar Jul 30 '21 05:07 hannesa2

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

davidrenji avatar Aug 04 '21 11:08 davidrenji

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

tiwari-gaurav avatar Aug 09 '21 14:08 tiwari-gaurav

+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

iMro0t avatar Aug 13 '21 19:08 iMro0t

@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?

todorone avatar Oct 23 '21 00:10 todorone

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?

luiscurini avatar Nov 09 '21 08:11 luiscurini

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

ColtonIdle avatar Nov 09 '21 15:11 ColtonIdle

@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.

luiscurini avatar Nov 10 '21 09:11 luiscurini

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

todorone avatar Nov 10 '21 09:11 todorone

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..

ivankostadinovic avatar Nov 13 '21 14:11 ivankostadinovic

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.

ahmetberkinc avatar Nov 15 '21 09:11 ahmetberkinc

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

Delorfindel avatar Nov 16 '21 17:11 Delorfindel

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...

iambenmitchell avatar Nov 19 '21 17:11 iambenmitchell

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.

steedles avatar Nov 30 '21 19:11 steedles

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?...

maxmitchenko avatar Dec 04 '21 10:12 maxmitchenko

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

LastxTemplar avatar Dec 10 '21 00:12 LastxTemplar

@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.

luiscurini avatar Dec 10 '21 08:12 luiscurini

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

davide-bertola-deltatre avatar Jan 14 '22 18:01 davide-bertola-deltatre

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

mlahp7 avatar Apr 29 '22 13:04 mlahp7

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

image

davidrenji avatar Apr 29 '22 13:04 davidrenji

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

klausbadelt avatar Aug 12 '22 11:08 klausbadelt

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?

ghost avatar Aug 18 '22 07:08 ghost