When you develop your app with Fire App Builder, you should use an actual Fire TV device to test your app. See Connecting to Fire TV Through ADB for details. However, if you're in a situation where you can only use an emulator, you can get by if you accept some limitations with the emulator. The emulator will work, but you can't click the media player buttons with your mouse.
Mouse clicks generate motion events, which aren't supported by media played in Fire App Builder (you'll see an error in logcat that says 'java.lang.ClassCastException: android.view.MotionEvent cannot be cast to android.view.KeyEvent'). As a result, the app will crash on the emulator if you use your mouse to click the media player's buttons.
Instead of using your mouse on the media playback screen, to return to the previous screen after playing media, click the Back button on the right of the emulator (as indicated by the arrow in the following screenshot).
The perfect Android emulator. Supports keyboard, gamepad, script recording and multiple instances. Every feature is perfect for your gaming experience only. Open keyboard mapping only with one-click, get the real PC like gaming experience by setting the controls on keyboard, mouse, or gamepad. Run multiple instances at the same time to play. How to Download Android TV Core Services on PC. Download MEmu installer and finish the setup. Start MEmu then open Google Play on the desktop. Search Android TV Core Services in Google Play. On install completion click the icon to start. Enjoy playing Android TV Core Services.
Don't click the media player's buttons with your mouse. Outside of media playback, you can use your mouse to click wherever you want.
To configure an emulator:
When you configure the Android TV emulator, you must select at least API Level 23 or 24. You have flexibility with the other settings (resolution, size, and so on). (If you choose API Level 24, you'll be prompted to install Instant Run, which is a requirement for this API level.)
To set up an Android TV emulator for your app:
- Go to Tools > Android > AVD Manager, or click the AVD Manager button on the top navigation bar.
Click the + Create Virtual Device button.
Note: You can select one of the default TV profiles, or you can customize the settings by following the steps below. If you select a default TV profile, skip ahead to step 12 where you select a system image.- In the Category column, select TV.
- Click the New Hardware Profile button.
- In the Device Name, type something like fire_tv_emulator. (Avoid using parentheses in the name, as this may cause errors.)
- For the Device Type, select Android TV.
- For the Screen size, type the screen size you want (for example, 40).
- For the Resolution, type the resolution you want (for example, 1280 x 720).
- For the Supported device states, select only Landscape (clear the Portrait check box).
- Click Finish.
- In the 'Choose a device definition' dialog box, select the emulator you just created and click Next.
- In the Release Name column, select at least Marshmallow API Level 23 or higher. If you haven't downloaded this system image yet, click Download to download it. (If you select API Level 22 or lower, media playback will fail in the emulator.)
- Click Next and then click Finish.
The emulator is now listed as an option in your virtual devices.
Run your app by clicking the Run 'app' button . Select the virtual device you created:
Now you can use the emulator as usual. Just be careful when you play media. When you play media, don't click the buttons on the media player with your mouse. Instead, either use your keys or use the buttons to the right of the emulator as shown in the earlier screenshot.
Last updated: Aug 22, 2017
The webOS TV emulator emulates webOS TV on your computer, enabling you to test and debug apps on your computer. It runs on the Oracle VM VirtualBox to emulate webOS TV and emulates LG Smart+ TV remote control unit.
This article provides below:
To learn about the main function of the webOS TV emulator, see Using webOS TV Emulator.
Installing Emulator
The webOS TV emulator is automatically installed on your computer when you install the full package installer of the webOS TV SDK.
Using the Component Manager of the webOS TV SDK, you can choose one or more versions of the webOS TV emulator to install. For more details about the installation of the emulator, see Installation.
Supported Platform Version
The supported platform version for each emulator is as below.
Emulator version | Supported webOS TV Version | Release Year of webOS TV |
---|---|---|
6.0.0 | webOS TV 6.x | 2021 |
5.0.0 | webOS TV 5.x | 2020 |
4.0.0 | webOS TV 4.x | 2018, 2019 |
3.0.0 | webOS TV 3.x | 2016, 2017 |
2.0.0 | webOS TV 2.x | 2015 |
1.2.0 | webOS TV 1.x | 2014 |
Starting and Exiting Emulator
Starting the emulator activates the virtual machine and launches the main screen. Then, the remote control unit is launched.
Starting the emulator
This article provides below:
To learn about the main function of the webOS TV emulator, see Using webOS TV Emulator.
Installing Emulator
The webOS TV emulator is automatically installed on your computer when you install the full package installer of the webOS TV SDK.
Using the Component Manager of the webOS TV SDK, you can choose one or more versions of the webOS TV emulator to install. For more details about the installation of the emulator, see Installation.
Supported Platform Version
The supported platform version for each emulator is as below.
Emulator version | Supported webOS TV Version | Release Year of webOS TV |
---|---|---|
6.0.0 | webOS TV 6.x | 2021 |
5.0.0 | webOS TV 5.x | 2020 |
4.0.0 | webOS TV 4.x | 2018, 2019 |
3.0.0 | webOS TV 3.x | 2016, 2017 |
2.0.0 | webOS TV 2.x | 2015 |
1.2.0 | webOS TV 1.x | 2014 |
Starting and Exiting Emulator
Starting the emulator activates the virtual machine and launches the main screen. Then, the remote control unit is launched.
Starting the emulator
Windows: Select the shortcut menu in Start > webOS TV SDK or click the shortcut icon on Desktop.
Mac OS: Select Finder > Favorites > Applications > webOS_TV_SDK and double-click the shortcut icon.
Linux: Search the emulator by keyword 'webOS' in Dash home and click the shortcut icon.
Exiting the emulator
Press in the remote control unit emulator or click MENU and select Exit.
When the confirmation popup window appears, click OK.
Android Tv Emulator Apk
Getting Familiar with Emulator UI
The following screenshot shows the webOS TV emulator launched on the computer.
Item | Name | Description |
---|---|---|
① | Main Window | Displays emulator actions. It is in part of VirtualBox and has the same resolution as the LG Smart TV screen (1920 x 1080 Full HD). It can be resized or changed to full-screen mode. |
② | Remote Control Unit Emulator | Emulates the remote control unit. |
③ | Emulator Menu | Provides main functions. Click MENU, then sub-menus appear: App Manager, Take Screenshot, Help, About, and Exit. |
User Input & Preloaded Apps
The user inputs of the webOS TV emulator are similar to those of the webOS TV, using an HID keyboard, a mouse, and a remote control unit emulator.
Use a mouse to scroll up and down the page and navigate with the cursor.
Use an HID keyboard to enter text in an app.
The following keys are supported in the remote control unit emulator.
Power, Home, Back, OK, Left, Right, Volume, Mute
Press the Home key in remote control unit emulator for starting and exiting Home UI.
Press the Command key on macOS, the Windows key on Windows, and the Super key on Linux for starting and exiting Home UI.
This figure shows the Home UI containing preloaded apps in webOS TV emulator v6.0.0.
Welcome: An app showing the welcome message
Enact Hello: Enact-based web app that shows the 'HELLO WORLD!' message
Enact Sampler: A comprehensive tour of Enact and its libraries
APIs Supported on the Emulator
To see which APIs are supported on each emulator version, go to API and check each section.
Android Tv Emulator Windows 10
Emulator Limitations and Differences
The following describes what limitations the webOS TV emulator has compared to webOS TV.
The webOS TV platform UI is limitedly supported: launching/exiting Home UI is supported only.
The TV tuner is not supported.
Magic remote control is limitedly supported. The acceleration sensor is not supported.
Supported codecs and containers are listed in Supported Media and DRM Formats.
LG Content Store is not supported.
Multi-sound works with multiple audio elements in the emulator. However, in real TV, you can only use one audio element in an app. See Playing Multi-sound for details.