diff --git a/PixLeZ_Application/android/app/build.gradle b/PixLeZ_Application/android/app/build.gradle index 1326b2d..881d579 100644 --- a/PixLeZ_Application/android/app/build.gradle +++ b/PixLeZ_Application/android/app/build.gradle @@ -8,7 +8,7 @@ if (localPropertiesFile.exists()) { def flutterRoot = localProperties.getProperty('flutter.sdk') if (flutterRoot == null) { - throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") + throw new FileNotFoundException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") } def flutterVersionCode = localProperties.getProperty('flutter.versionCode') @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdkVersion 28 + compileSdkVersion 31 sourceSets { main.java.srcDirs += 'src/main/kotlin' @@ -40,7 +40,7 @@ android { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.example.pixlez_application" minSdkVersion 16 - targetSdkVersion 28 + targetSdkVersion 31 versionCode flutterVersionCode.toInteger() versionName flutterVersionName } diff --git a/PixLeZ_Application/android/app/src/main/AndroidManifest.xml b/PixLeZ_Application/android/app/src/main/AndroidManifest.xml index 93d09ea..962c457 100644 --- a/PixLeZ_Application/android/app/src/main/AndroidManifest.xml +++ b/PixLeZ_Application/android/app/src/main/AndroidManifest.xml @@ -9,7 +9,7 @@ additional functionality it is fine to subclass or reimplement FlutterApplication and put your custom class here. --> + android:windowSoftInputMode="adjustResize" + android:exported="true">