Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android TV emulator with Google APIs

I have an android game in Google Play. Now I'm trying to make it compatible with Android TV. I don't have any of the Android TV hardware. So I'm testing in emulator. I was able to start Android Emulator for Android TV with Android 5.0. My game is using Google Play Games Services. So to test it I need Google APIs in the emulator. But if I try to create an Android TV emulator with Google APIs I see no System images for Android TV with Google APIs.

Is it something that I am missing on my side or the Emulator doesn't support "Android TV with Google API"

Any info in this regard will be helpful.

Edit
I figured out the Android TV system images are having Google APIs by default. But when I run my app (that uses Google Play Services) on the emulator I get the following message in an Alert Dialog

google play services which some of your applications rely on is not supported by your device

Also I saw the following somewhere in the logs.

google play services not available due to error 9


google play services is invalid. cannot recover"
like image 269
Sreekanth Avatar asked Nov 04 '14 08:11

Sreekanth


People also ask

Does Google have an Android Emulator?

Google Launches Android Studio 2.0 With Improved Android Emulator And New Instant Run Feature. Google today launched version 2.0 of its Android Studio integrated development environment (IDE) for writing apps for its mobile operating system.

Can you get Google Play on Android TV?

You can play Google Play Games on your Android TV with a Gamepad or remote.

How do I use Google emulator on Android?

Run your app on the emulator After you have created an Android Virtual Device (AVD), you can start the Android Emulator and run an app in your project: In the toolbar, select the AVD that you want to run your app on from the target device drop-down menu. Click Run.


1 Answers

Android TV Emulator with Play Services and Play Store is available on the latest AndroidTV Q image. It was recently announced:

Android TV Emulator with Play Store support: Test your TV projects seamlessly. The Android TV emulator now supports Google Play, so you can test subscriptions faster through the emulator instead of testing on real devices.

like image 161
Oleksandr Avatar answered Sep 22 '22 14:09

Oleksandr