Emulator Installation
Caution: Emulator Deprecation
From webOS TV 22, Emulator will not be provided. Instead, we provideSimulator with better development convenience. If you still need to use the Emulator for webOS TV 6.0 or lower, you can install it using webOS Studio | Packager Manager.Follow the procedure below to install the Emulator.
Prepare for installation
Check if the system requirements and prerequisite are met before starting installation.
System requirements
OS/Component | Requirement |
---|---|
Linux | Ubuntu 14.04 or higher (64bit) |
Windows | Windows 7 or higher (64bit) |
macOS |
|
Memory | 3 GB or more of RAM |
Prerequisite
Make sure that Virtualbox and webOS TV CLI are installed.
- Virtualbox 6.1: https://www.virtualbox.org/wiki/Download_Old_Builds_6_1
- webOS TV CLI: webOS TV CLI Installation
Step 1. Download Emulator
Download the Emulator corresponding to your OS and unzip it.
webOS TV 6.0
Linux 64-bit
Windows 64-bit
macOS 64-bit
webOS TV 5.0
Linux 64-bit
Windows 64-bit
macOS 64-bit
webOS TV 4.0
Linux 64-bit
Windows 64-bit
macOS 64-bit
webOS TV 3.0
Linux 64-bit
Windows 64-bit
macOS 64-bit
webOS TV 2.0
Linux 64-bit
Windows 64-bit
macOS 64-bit
webOS TV 1.2
Linux 64-bit
Windows 64-bit
macOS 64-bit
Step 2. Download the resource file
Download the resource file corresponding to your OS and unzip it.
Linux Resource File
Windows Resource File
macOS Resource File
Step 3. Place the unzipped directories under LG_WEBOS_TV_SDK_HOME
Place the Emulator
directory, unzipped in Step 1, and the Resources
directory, unzipped in Step 2, in the path of LG_WEBOS_TV_SDK_HOME
.
- For how to find the path of
LG_WEBOS_TV_SDK_HOME
, see Check the environment variable . - If you have already installed the Emulator and want to install another version, place the
vX.0.0
directory under theEmulator
directory unzipped in Step 1 into the theEmulator
directory in the path ofLG_WEBOS_TV_SDK_HOME
.
Note: Example of the file tree after Step 3
Check out the example below for clarification. In the following example, the path ofLG_WEBOS_TV_SDK_HOME
is /home/user/tool/webos_tv_sdk/
./home/user/tool/
├── webOS_TV_SDK
│ ├── Emulator
│ │ ├── v6.0.0
│ │ ├── v5.0.0 (if installing multiple versions)
│ │ ├── v4.0.0 (if installing multiple versions)
│ │ └── ...
│ ├── Resources
│ │ └── jre
Step 4. Complete the installation
Proceed with one of the following corresponding to your OS to complete the installation.
Windows
- Go to the
Emulator/vX.0.0
directory, whereX
is the version to install. - Run vm_register.bat.
- Run LG_webOS_TV_Emulator.exe.
Linux
- Run the terminal and execute the following commands.
$ cd /LG_WEBOS_TV_SDK_HOME_PATH/Emulator/vX.0.0 $ chmod 777 ./* $ ./vm_register.sh $ ./create_desktop.sh $ sudo desktop-file-install webOS_TV_Emulator_vX.0.0.desktop
- LG_WEBOS_TV_SDK_HOME_PATH: Path of
LG_WEBOS_TV_SDK_HOME
- X.0.0: Emulator version to install
- LG_WEBOS_TV_SDK_HOME_PATH: Path of
- Run webOS TV Emulator X.0.0 on the application list.
macOS
- Run the terminal and execute the following commands.
$ cd /LG_WEBOS_TV_SDK_HOME_PATH/Emulator/vX.0.0 $ chmod 777 ./* $ ./vm_register.command
- LG_WEBOS_TV_SDK_HOME_PATH: Path of
LG_WEBOS_TV_SDK_HOME
- X.0.0: Emulator version to install
- LG_WEBOS_TV_SDK_HOME_PATH: Path of
- Execute the following command to run the Emulator.
$ ./run_webos_emulator.sh
No Headings