To install the Grassfish Android Player software, you have to access and run a batch file from the installation package.
Prerequisites
Before you install the Grassfish software, note that the batch file executes the following commands:
adb devices 🡪 lists the serial no. of the connected device or IP address if wireless ADB is used.
timeout 1
adb shell settings put global package_verifier_enable 0 🡪 disables the Google verifier
timeout 1
adb install -r TV-Host15.65.712.apk 🡪 installs the TemViewer Host APK
timeout 1
adb install -r Teamviewer_universial_add_on.apk 🡪 installs the add-on for TeamViewer
timeout 1
adb install -r player_11.18.1-release.apk 🡪 installs the Grassfish Player APK
timeout 1
adb install -r do_11.18.1-release.apk 🡪 installs the Grassfish device owner APK
timeout 1
adb install -r -d android-system-webview-130-0-6723-58.apk 🡪 installs the correct WebView APK
timeout 1
adb shell settings put global package_verifier_enable 0 🡪 disables the Google verifier (second time)
timeout 1
adb shell appops set com.grassfish.player PROJECT_MEDIA allow 🡪 sets permission to take screenshots
timeout 1
adb shell settings put global GF_PROJECT_MEDIA_ALLOWED 1 🡪 sets permission to take screenshots
timeout 1
adb shell dpm set-device-owner com.grassfish.deviceowner/.receivers.DeviceOwnerReceiver 🡪 defines the Grassfish device owner APK as device owner
pause
Note
TeamViewer apps are optional. If you don’t want to install them, delete the respective lines from the batch file before running it.
Install Grassfish software
To install the Grassfish software, perform the following steps:
Navigate to the unzipped installation package.
Double-click the file Install_gf_Tools_from_Android_[version]-on.bat to start the installation.
Check the installation log and make sure that all installations complete successfully and no errors are logged.