-
Notifications
You must be signed in to change notification settings - Fork 343
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 15 support #315
Comments
Yeah, been trying to create scrcpy-server.jar from the latest version of scrcpy, but to no avail |
I also trid the Genymobile/scrcpy v2.5, but it didn't work, after all, Genymobile/scrcpy has committed many versions |
With this Issue 4657, I modified the source code based on NetrisTV/scrcpy version 1.19 and compiled a new version of the scrcpy-server.jar. It can work in Android 15 beta. |
HI, i would appreciate if you could share your scrcpy-server.jar with me, been trying to do it myself but no success, thanks |
You can give it a try, although it needs to be optimized. |
It worked, thanks man |
Caused by: java.lang.NoSuchMethodException: android.view.SurfaceControl.createDisplay [class java.lang.String, boolean] |
@Okra0o0 can you give some instruction what to do with the attached files? I'm assuming by the heart reactions it fixes the issue... |
You just need to replace the scrcpy .jar file in the project It's somewhere in the vendors / Genymobile folder |
I tried, but the screen of my Pixel remained blank 👀 . It works fine with a xiaomi device... I'm just running npm start after replacing the jar, is that enough or even more required? |
Yes it haven't worked with my pixel at first time too. After clearing caches, few pc restarts and phone restarts it suddenly started to work. Idk what of them exactly fixed the problem |
Awesome, a reboot did indeed fix the issue. @Okra0o0 could you still share your changes somewhere? I'd like to be able to further customize the server jar. |
So those four files are the only changes in the scrcpy fork we have to make to build that jar? I saw them earlier, but thought that can't be it 😅 . |
awesome! thanks @Okra0o0 and thanks everyone! for this support. |
Currently Android 15 devices have no screen, but it can be control, whether it's scrcpy-server.jar problem, can you fix it? Thanks~
The text was updated successfully, but these errors were encountered: