You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! First of all, thank you for this package which looks very promising.
Unfortunately, I get a compile error with Android (I cannot try with iOS) which I include below. Do you have any idea where this comes from? It looks like an android minimum version requirement (which I have set to 21 as specified in the README), but I have no idea what to do with it.
EDIT: I am using the stable version 1.1.4, and have the following values inside android/app/build.gradle:
Launching lib/main.dart on SM G975F in debug mode...
lib/main.dart:1
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Multiple task action failures occurred:
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
> The minCompileSdk (31) specified in a
dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
is greater than this module's compileSdkVersion (android-30).
Dependency: androidx.camera:camera-camera2:1.1.0-alpha10.
AAR metadata file: /home/jack/.gradle/caches/transforms-2/files-2.1/5797b37d228bf42e43df9ee2bcaaf5b3/jetified-camera-camera2-1.1.0-alpha10/META-INF/com/android/build/gradle/aar-metadata.properties.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
> The minCompileSdk (31) specified in a
dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
is greater than this module's compileSdkVersion (android-30).
Dependency: androidx.camera:camera-lifecycle:1.1.0-alpha10.
AAR metadata file: /home/jack/.gradle/caches/transforms-2/files-2.1/15b9c8755feca49566eac630ade6e94b/jetified-camera-lifecycle-1.1.0-alpha10/META-INF/com/android/build/gradle/aar-metadata.properties.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
> The minCompileSdk (31) specified in a
dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
is greater than this module's compileSdkVersion (android-30).
Dependency: androidx.camera:camera-core:1.1.0-alpha10.
AAR metadata file: /home/jack/.gradle/caches/transforms-2/files-2.1/701c786c451d8b4ff49a0cb1501d5f04/jetified-camera-core-1.1.0-alpha10/META-INF/com/android/build/gradle/aar-metadata.properties.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 13s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
The text was updated successfully, but these errors were encountered:
Alright, solved this issue by downgrading both fast_barcode_scanner to version 1.1.0 as well as camera to version 0.8.1. Looks like some dependency in your package tree uses the androidx.core:core-ktx:+ gradle dependency (see this post), and a new KTX version came out with support for Android 12 (and some of my dependencies are not yet ready for Android 12).
Please close this issue if you don't feel like any action should be taken.
Hi! First of all, thank you for this package which looks very promising.
Unfortunately, I get a compile error with Android (I cannot try with iOS) which I include below. Do you have any idea where this comes from? It looks like an android minimum version requirement (which I have set to 21 as specified in the README), but I have no idea what to do with it.
EDIT: I am using the stable version
1.1.4
, and have the following values insideandroid/app/build.gradle
:Thank you for your help.
The text was updated successfully, but these errors were encountered: