-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
Server fails when built with SDK < 33 on macOS #3481
Comments
Thank you for the report. I upgraded on
I faced the same issue recently, but reverting to an old Java (openjdk) version solved the problem. Upgrading the expected gradle version is better 😉 |
@yangfl FYI, |
@yangfl surely, Debian packaging could encode the need for a newer build-tools, no? |
No, the only available Android SDK on Debian is 23, unless server apk is not compiled at Debian side completely. |
Okay, so what are Debian people supposed to do now? scrcpy in Debian Unstable is stuck on 1.25 from December 2022. |
@CapitalF An official scrcpy package in Debian requires that a recent android framework package (e.g. There "was" Until that, there cannot be an official scrcpy Debian package, and people should follow these instructions to install on Debian (or build everything from sources). |
Thank you for the very helpful hint! Looks like I will be building my own android tools and scrcpy here in the near future. |
Environment
Problem
When building from source, I keep getting
Fix
Changing
PLATFORM
andBUILD_TOOLS
inserver/build_without_gradle.sh
to version 33.Notes
This has been an issue for "quite a while". (I've had to use the prebuilt server.)
Thought I could bisect to find where this issue appeared, but found that it was already present in v1.23, and couldn't build v1.22, because an older
ffmpeg
was expected.The text was updated successfully, but these errors were encountered: