SDK version 31.
For more information about build configuration, see https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
Warning: The plugin path_provider_android requires Android SDK version 31.
For more information about build configuration, see https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
Warning: The plugin shared_preferences_android requires Android SDK version 31.
For more information about build configuration, see https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
One or more plugins require a higher Android SDK version.
Fix this issue by adding the following to C:\src\rep\lector_app\android\app\build.gradle:
android {
compileSdkVersion 31
...
}
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkReleaseAarMetadata'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
> One or more issues found when checking AAR metadata values:
Dependency 'androidx.window:window-java:1.0.0-beta04' requires 'compileSdkVersion' to be set to 31 or higher.
Compilation target for module ':app' is 'android-26'
Dependency 'androidx.window:window:1.0.0-beta04' requires 'compileSdkVersion' to be set to 31 or higher.
Compilation target for module ':app' is 'android-26'
Кто знает как решить, но что бы приложение работало и на андройд 26? И ведь в документации к плагинам ни строчки о том что они требуют sdk 31, напротив flutter_webrtc требует минимум sdk 22, но мне то 26 надо.
даунгрейдни плагин
Обсуждают сегодня