Fix example app Android builds (#162)

Tested on Web, MacOS, Linux and iOS too - refreshed Podfiles and Runnners
This commit is contained in:
Jonas Greifenhain
2025-05-29 08:27:08 +02:00
committed by GitHub
parent 23e2847a19
commit 4f9ad0b9e6
10 changed files with 70 additions and 42 deletions
+1
View File
@@ -11,3 +11,4 @@ GeneratedPluginRegistrant.java
key.properties
**/*.keystore
**/*.jks
/app/.cxx/
+2 -2
View File
@@ -24,7 +24,7 @@ if (flutterVersionName == null) {
android {
namespace "com.navideck.universal_ble_example"
compileSdkVersion 34
compileSdkVersion 35
ndkVersion flutter.ndkVersion
compileOptions {
@@ -45,7 +45,7 @@ android {
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion 21
targetSdkVersion 34
targetSdkVersion 35
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
+1 -1
View File
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip
+2 -2
View File
@@ -18,8 +18,8 @@ pluginManagement {
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "7.3.0" apply false
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
id "com.android.application" version "8.1.0" apply false
id "org.jetbrains.kotlin.android" version "1.8.22" apply false
}
include ":app"