Skip to content

Display and control your Android device

Upgrade Android SDK to 34

Romain Vimontabcb10059749
diff --git a/server/build.gradle b/server/build.gradle
index 927906fc..1bb31360 100644
--- a/server/build.gradle
+++ b/server/build.gradle
@@ -2,11 +2,11 @@ apply plugin: 'com.android.application'
android {
namespace 'com.genymobile.scrcpy'
- compileSdk 33
+ compileSdk 34
defaultConfig {
applicationId "com.genymobile.scrcpy"
minSdkVersion 21
- targetSdkVersion 33
+ targetSdkVersion 34
versionCode 200
versionName "v2.2"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
diff --git a/server/build_without_gradle.sh b/server/build_without_gradle.sh
index 6e755272..5ab90a0a 100755
--- a/server/build_without_gradle.sh
+++ b/server/build_without_gradle.sh
@@ -14,8 +14,8 @@ set -e
SCRCPY_DEBUG=false
SCRCPY_VERSION_NAME=v2.2
-PLATFORM=${ANDROID_PLATFORM:-33}
-BUILD_TOOLS=${ANDROID_BUILD_TOOLS:-33.0.0}
+PLATFORM=${ANDROID_PLATFORM:-34}
+BUILD_TOOLS=${ANDROID_BUILD_TOOLS:-34.0.0}
BUILD_TOOLS_DIR="$ANDROID_HOME/build-tools/$BUILD_TOOLS"
BUILD_DIR="$(realpath ${BUILD_DIR:-build_manual})"