question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

StartRecordingScreen on specific Android device fails

See original GitHub issue

The problem

Trying to record one specific device works for a bit and then stops with an exception on appium server. The device in which this happens is a VDF 710 with Android 7.0. Using the exact same code, but with another device (Sony FB331, Android 8.0) it works just fine.

Environment

  • Appium 1.8.2-beta

Link to Appium logs

https://gist.github.com/notihs/7f19a7d2d72c3f426eed96317ff5bce0

Code To Reproduce Issue [ Good To Have ]

Simply calling driver.startRecordingScreen();

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
mykola-mokhnachcommented, Aug 1, 2018

The fix has been published in appium@beta

1reaction
mykola-mokhnachcommented, Jul 26, 2018

ok, I’ll change the algorithm to accept any file size

Read more comments on GitHub >

github_iconTop Results From Across the Web

Screen record more than 2 minutes - Support - Appium Discuss
Hello, I try to implement reording on my screen and I only get one minute of record, my method looks like that:
Read more >
appium screen recording feature - Stack Overflow
To start recording use the below c# code: driver.StartRecordingScreen(AndroidStartScreenRecordingOptions .
Read more >
Appium - WebdriverIO
driver.startRecordingScreen(options) ... Press and hold a particular key code on the device. ... Get the name of the current Android activity.
Read more >
Troubleshooting - appium - Read the Docs
If you get this error after upgrading to Android SDK 22: {ANDROID_HOME}/tools/ant/uibuild.xml:155: SDK does not have any Build Tools installed.
Read more >
How to record a screen using appium in android? - pCloudy
(CanRecordScreen) driver).startRecordingScreen(); Thread.sleep(10000); ((CanRecordScreen) driver).stopRecordingScreen();
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found