Screen not shared when i using Espresso driver

if I use UiAutomato2 as driver, appium inspector works fine.
if I use Espresso as driver, started only virtual device; (with real device throw this message :

Failed to create session. A new session could not be created. Details: Espresso server process has been unexpectedly terminated. Check the Appium server log and the logcat output for more details. Check GitHub - appium/appium-espresso-driver: Espresso integration for Appium regarding advanced session startup troubleshooting.


only starting on virtual device (emulator) but screen does not share.


  "platformName": "android",
  "appium:automationName": "Espresso",
  "appium:appPackage": "hidden",
  "appium:appActivity": "hidden",
  "appium:skipUnlock": true,
  "appium:noReset": true,
  "appium:showGradleLog": true,
  "appium:forceEspressoRebuild": true,
  "appium:printPageSourceOnFindFailure": true,
  "appium:udid": "emulator-5554"