Skip to content

An open-source cross-platform alternative to AirDrop

fix(android): build issue

Tien Do Namf6443e64619d
diff --git a/app/android/build.gradle b/app/android/build.gradle
index bc157bd1..2cc30ded 100644
--- a/app/android/build.gradle
+++ b/app/android/build.gradle
@@ -9,6 +9,22 @@ rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
+
+// temporary fix to keep using device_apps
+// https://stackoverflow.com/questions/69033022/message-error-resource-androidattr-lstar-not-found
+subprojects {
+ afterEvaluate { project ->
+ if (project.plugins.hasPlugin("com.android.application") ||
+ project.plugins.hasPlugin("com.android.library")) {
+ project.android {
+ compileSdkVersion 34
+ buildToolsVersion "34.0.0"
+ }
+ }
+ }
+}
+
+
subprojects {
project.evaluationDependsOn(':app')
}