Nothing is displayed on the reflection screen on Android device

#1

I am running App Studio with Bluestack (Android v7.1).

After connecting to Bluestack, the reflection screen on Android device of Appium Studio is showing black screen.

When I open an app in Bluestack, the app is not displayed in Bluestack. Bluestack only shows the background display. Over at the reflection, it is still black screen. However, when I click on screen orientation at the reflection screen, the Bluestack’s orientation is affected, which indicates there’s connection between Appium Studio and Bluestack. Another indication of success is when I click Home button of the reflection screen, Bluestack can display Home screen.

Hope to have advice on this. Thank you.

0 Likes

#2

Can you paste the part of the log when the launch ? Is there any error ?

0 Likes

#3

I am not sure where to begin, but hopefully the following can shed some light

2019-07-11 14:09:57,021 [Action executor - ONEPLUS A3010] (experitest.device.Device) ERROR failed to get screen
com.experitest.image.agent.InternalException: The connection to device’s screen monitor was lost
at com.experitest.image.agent.android.adb.screen.injector.UiAutomatorInjector.wakeScreen(UiAutomatorInjector.java:38)
at com.experitest.device.GenericAndroidDevice.initDeviceController(GenericAndroidDevice.java:1228)
at com.experitest.device.GenericAndroidDevice.initInjector(GenericAndroidDevice.java:1154)
at com.experitest.device.GenericAndroidDevice.getScreen(GenericAndroidDevice.java:1113)
at com.experitest.device.GenericAndroidDevice.getScreen(GenericAndroidDevice.java:108)
at com.experitest.image.deviceactions.actions.AtomicAction.collectPreScreenShot(AtomicAction.java:76)
at com.experitest.image.deviceactions.DeviceActionCollectorListener.collectScreenShotIfNeeded(DeviceActionCollectorListener.java:174)
at com.experitest.image.deviceactions.DeviceActionCollectorListener.doBeforeAction(DeviceActionCollectorListener.java:36)
at com.experitest.image.deviceactions.DeviceActionManager.doBeforeAction(DeviceActionManager.java:142)
at com.experitest.image.deviceactions.DeviceActionManager.access$600(DeviceActionManager.java:45)
at com.experitest.image.deviceactions.DeviceActionManager$DeviceActionExecutor.processCurrentAction(DeviceActionManager.java:280)
at com.experitest.image.deviceactions.DeviceActionManager$DeviceActionExecutor.run(DeviceActionManager.java:258)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
2019-07-11 14:09:57,022 [Action executor - ONEPLUS A3010] (deviceactions.actions.AtomicAction) ERROR Could not collect screen shot
com.experitest.image.agent.InternalException: Failed to get screen
at com.experitest.device.GenericAndroidDevice.getScreen(GenericAndroidDevice.java:1129)
at com.experitest.device.GenericAndroidDevice.getScreen(GenericAndroidDevice.java:108)
at com.experitest.image.deviceactions.actions.AtomicAction.collectPreScreenShot(AtomicAction.java:76)
at com.experitest.image.deviceactions.DeviceActionCollectorListener.collectScreenShotIfNeeded(DeviceActionCollectorListener.java:174)
at com.experitest.image.deviceactions.DeviceActionCollectorListener.doBeforeAction(DeviceActionCollectorListener.java:36)
at com.experitest.image.deviceactions.DeviceActionManager.doBeforeAction(DeviceActionManager.java:142)
at com.experitest.image.deviceactions.DeviceActionManager.access$600(DeviceActionManager.java:45)
at com.experitest.image.deviceactions.DeviceActionManager$DeviceActionExecutor.processCurrentAction(DeviceActionManager.java:280)
at com.experitest.image.deviceactions.DeviceActionManager$DeviceActionExecutor.run(DeviceActionManager.java:258)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.experitest.image.agent.InternalException: The connection to device’s screen monitor was lost
at com.experitest.image.agent.android.adb.screen.injector.UiAutomatorInjector.wakeScreen(UiAutomatorInjector.java:38)
at com.experitest.device.GenericAndroidDevice.initDeviceController(GenericAndroidDevice.java:1228)
at com.experitest.device.GenericAndroidDevice.initInjector(GenericAndroidDevice.java:1154)
at com.experitest.device.GenericAndroidDevice.getScreen(GenericAndroidDevice.java:1113)
… 13 more
2019-07-11 14:09:57,022 [Action executor - ONEPLUS A3010] (deviceactions.actions.AtomicAction) WARN screen shot is null
2019-07-11 14:09:57,025 [Action executor - ONEPLUS A3010] (deviceactions.actions.DeviceAction) INFO Mouse down : 922, 633

Blockquote

0 Likes

#4

Here’s the link to the video screenshot

Log file for one session of opening the reflector can be obtained here https://razermis-my.sharepoint.com/:u:/g/personal/chiomeng_lam_razer_com/EbDsxM0XsllPhRh8o7CqGxMBVxp_laifYgaUr9E5vvM2ZQ?e=JrGgKs

0 Likes