mirror of
https://github.com/Genymobile/scrcpy
synced 2025-01-02 20:52:06 +00:00
Force javac to use UTF-8
The source files are encoded in UTF-8. Refs <https://github.com/Genymobile/scrcpy/issues/4639#issuecomment-2467206100> Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
parent
eff5b4b219
commit
c0e2e27cf9
@ -68,7 +68,7 @@ done
|
||||
|
||||
echo "Compiling java sources..."
|
||||
cd ../java
|
||||
javac -bootclasspath "$ANDROID_JAR" \
|
||||
javac -encoding UTF-8 -bootclasspath "$ANDROID_JAR" \
|
||||
-cp "$LAMBDA_JAR:$GEN_DIR" \
|
||||
-d "$CLASSES_DIR" \
|
||||
-source 1.8 -target 1.8 \
|
||||
|
Loading…
Reference in New Issue
Block a user