-
-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
android watch (Android 4) not showing up #98
Comments
See #82. |
I have run adb shell screenrecord with success though. How do I get to the codecs screen still ? |
Ah, interesting. Could you try #82 (comment)? |
@elig0n I just created a project to give more infos about video codecs available: Please post its results for your watch. |
It's Android 4.4 so apparently it can't be supported, right? |
That's probably the problem, yes. So I just implemented the changes required to support Android 4.4 (API 19), in branch Could you test this version, please? (you need to recompile the server, do not use the prebuilt) |
@elig0n Could you test the branch If it works, I'll be able to merge it into |
scrcpy v1.1 dependencies:
|
OK, so the server crashed (I guess Could you check |
what should I be looking for exactly?
|
On an Android 4.4 device, here is the logcat:
I will investigate when I have access to a 4.4 device (soon). |
I get a device to investigate. The above problem is about
This is solved by creating However, this is not sufficient. The video still does not work:
|
I'm closing. scrcpy will probably never support Android 4. |
@rom1v Thank you for pointing me here. I hope, it is okay for you to use this closed issue to further discuss this issue, or do you prefer another channel? (IRC?) I've tried to parse this thread to locate the real blockers and their reasons, but didn't succeed. Meanwhile, I've merged your api19 changes into api19hp here and created a debug build. Since I have no physical access to the 4.4.4 device at the moment, I've tried to run it in with an AVD VM (Android 4.4/arm), but failed. (logcat below..) scrcpy does work with an emulated Pixel 2 API 24 (Android 7.0/x86), so my build isn't completely messed up, and is real fun (besides being immensely useful for debugging of course)! Here's the interesting part of the 4.4 logcat:
It bails out, due to android.system.Os isn't available below API Level 21, AFAICS. Okay, my merge sucks :(. Obviously, it needs the scrcpy/server/src/main/java/com/genymobile/scrcpy/ScreenEncoder.java Lines 107 to 114 in 1de8506
Unfortunately, I'm not that fluent in Java, so this part will take a while. |
Dear @rom1v, may I kindly ask you to take a look at my code: https://github.com/Genymobile/scrcpy/compare/master...frispete:api19hp?expand=1 For some reasons, it still fails, although the API dependent code should be in place?!?
but no logcat output. |
Yes.
The video encoder does not work below 5.0. (#98 (comment)) |
Ugrmpf. Will change hardware to catch up with requirements. Anyway, you're my hero, Romain! This is the best invention for Android since sliced bread! |
i want to connet my stb(eth-connect,kitkat) and my test-mobile(usb-connect,kitkat),but it not work at all. the prebuild branch-api19 in my window10-64,not work,and no hint,no err,reaction. the prebuild branch-master in my window10-64,not work,and has hint like this: C:\scrcpy-win64-v1.12.1>scrcpy.exe |
No, Android 5.0 is required. I did some attempts to make it work on Android 4, but they failed. |
CXTouch supports versions 4.4 (SDK level 19) to 9.0 (SDK level 28) |
We need a path that is writable by shell on Android 4. Genymobile#98 (comment)
We need a path that is writable by shell on Android 4. Genymobile#98 (comment)
We need a path that is writable by shell on Android 4. Genymobile#98 (comment)
We need a path that is writable by shell on Android 4. Genymobile#98 (comment)
What if scrcpy create a virtual display, route the virtual display to a video encoder? I think this should be very much possible. I'm happy to help. It'd be nice to have android 4.4 as supported (at some extent) screenrecord does something similar. |
Hi, base on @rom1v 's |
I have downloaded windows prebuilt 1.1 and device is listed under adb devices (usb debugging enabled) but scrcpy.exe runs without loading watchable screen. watch is called qw09.
The text was updated successfully, but these errors were encountered: