flutter_webview_plugin breaks build
removing the plugin resolves the problem. supposedly a androidx related problem according to the logs. the logs say something about barcode_scan too though so maybe it's an interference of those two
needs some more investigation
OR
another webview plugin
You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK
to reduce the APK size.
To generate an app bundle, run:
flutter build appbundle --target-platform android-arm,android-arm64,android-x64
Learn more on: https://developer.android.com/guide/app-bundle
To split the APKs per ABI, run:
flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
Learn more on:
https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
Exception thrown loading the keyconfig
You may add one in key.properties under the android root folder
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:lintVitalRelease'.
> Could not resolve all artifacts for configuration ':app:debugCompileClasspath'.
> Could not resolve androidx.legacy:legacy-support-core-utils:1.0.0-beta01.
Required by:
project :app
> Cannot find a version of 'androidx.legacy:legacy-support-core-utils' that satisfies the version constraints:
Dependency path 'android:app:unspecified' --> 'de.mintware.barcode_scan:barcode_scan:1.0-SNAPSHOT' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0'
Dependency path 'android:app:unspecified' --> 'de.mintware.barcode_scan:barcode_scan:1.0-SNAPSHOT' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0'
Constraint path 'android:app:unspecified' --> 'androidx.legacy:legacy-support-core-utils'
strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
Constraint path 'android:app:unspecified' --> 'androidx.legacy:legacy-support-core-utils'
strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
Constraint path 'android:app:unspecified' --> 'androidx.legacy:legacy-support-core-utils'
strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
> Could not resolve androidx.documentfile:documentfile:1.0.0-beta01.
Required by:
project :app
> Cannot find a version of 'androidx.documentfile:documentfile' that satisfies the version constraints:
Dependency path 'android:app:unspecified' --> 'de.mintware.barcode_scan:barcode_scan:1.0-SNAPSHOT' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.documentfile:documentfile:1.0.0'
Constraint path 'android:app:unspecified' --> 'androidx.documentfile:documentfile' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
Constraint path 'android:app:unspecified' --> 'androidx.documentfile:documentfile' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
> Could not resolve androidx.localbroadcastmanager:localbroadcastmanager:1.0.0-beta01.
Required by:
project :app
> Cannot find a version of 'androidx.localbroadcastmanager:localbroadcastmanager' that satisfies the version constraints:
Dependency path 'android:app:unspecified' --> 'de.mintware.barcode_scan:barcode_scan:1.0-SNAPSHOT' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
Constraint path 'android:app:unspecified' --> 'androidx.localbroadcastmanager:localbroadcastmanager' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
Constraint path 'android:app:unspecified' --> 'androidx.localbroadcastmanager:localbroadcastmanager' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
> Could not resolve androidx.print:print:1.0.0-beta01.
Required by:
project :app
> Cannot find a version of 'androidx.print:print' that satisfies the version constraints:
Dependency path 'android:app:unspecified' --> 'de.mintware.barcode_scan:barcode_scan:1.0-SNAPSHOT' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.print:print:1.0.0'
Constraint path 'android:app:unspecified' --> 'androidx.print:print' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
Constraint path 'android:app:unspecified' --> 'androidx.print:print' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
> Could not resolve androidx.legacy:legacy-support-core-ui:1.0.0-beta01.
Required by:
project :app
> Cannot find a version of 'androidx.legacy:legacy-support-core-ui' that satisfies the version
constraints:
Dependency path 'android:app:unspecified' --> 'de.mintware.barcode_scan:barcode_scan:1.0-SNAPSHOT' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0'
Dependency path 'android:app:unspecified' --> 'de.mintware.barcode_scan:barcode_scan:1.0-SNAPSHOT' --> 'com.google.android.material:material:1.0.0' --> 'androidx.recyclerview:recyclerview:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0'
Constraint path 'android:app:unspecified' --> 'androidx.legacy:legacy-support-core-ui' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01 Constraint path 'android:app:unspecified' --> 'androidx.legacy:legacy-support-core-ui' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01 Constraint path 'android:app:unspecified' --> 'androidx.legacy:legacy-support-core-ui' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
> Could not resolve androidx.coordinatorlayout:coordinatorlayout:1.0.0-beta01.
Required by:
project :app
> Cannot find a version of 'androidx.coordinatorlayout:coordinatorlayout' that satisfies the version constraints:
Dependency path 'android:app:unspecified' --> 'de.mintware.barcode_scan:barcode_scan:1.0-SNAPSHOT' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.coordinatorlayout:coordinatorlayout:1.0.0'
Constraint path 'android:app:unspecified' --> 'androidx.coordinatorlayout:coordinatorlayout' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
Constraint path 'android:app:unspecified' --> 'androidx.coordinatorlayout:coordinatorlayout' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
> Could not resolve androidx.slidingpanelayout:slidingpanelayout:1.0.0-beta01.
Required by:
project :app
> Cannot find a version of 'androidx.slidingpanelayout:slidingpanelayout' that satisfies the version constraints:
Dependency path 'android:app:unspecified' --> 'de.mintware.barcode_scan:barcode_scan:1.0-SNAPSHOT' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.slidingpanelayout:slidingpanelayout:1.0.0'
Constraint path 'android:app:unspecified' --> 'androidx.slidingpanelayout:slidingpanelayout' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
Constraint path 'android:app:unspecified' --> 'androidx.slidingpanelayout:slidingpanelayout' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
> Could not resolve androidx.swiperefreshlayout:swiperefreshlayout:1.0.0-beta01.
Required by:
project :app
> Cannot find a version of 'androidx.swiperefreshlayout:swiperefreshlayout' that satisfies the
version constraints:
Dependency path 'android:app:unspecified' --> 'de.mintware.barcode_scan:barcode_scan:1.0-SNAPSHOT' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0'
Constraint path 'android:app:unspecified' --> 'androidx.swiperefreshlayout:swiperefreshlayout' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
Constraint path 'android:app:unspecified' --> 'androidx.swiperefreshlayout:swiperefreshlayout' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
> Could not resolve androidx.asynclayoutinflater:asynclayoutinflater:1.0.0-beta01.
Required by:
project :app
> Cannot find a version of 'androidx.asynclayoutinflater:asynclayoutinflater' that satisfies the version constraints:
Dependency path 'android:app:unspecified' --> 'de.mintware.barcode_scan:barcode_scan:1.0-SNAPSHOT' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.asynclayoutinflater:asynclayoutinflater:1.0.0'
Constraint path 'android:app:unspecified' --> 'androidx.asynclayoutinflater:asynclayoutinflater' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
Constraint path 'android:app:unspecified' --> 'androidx.asynclayoutinflater:asynclayoutinflater' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
> Could not resolve androidx.legacy:legacy-support-core-ui:1.0.0.
Required by:
project :app > com.google.android.material:material:1.0.0
project :app > androidx.recyclerview:recyclerview:1.0.0
> Cannot find a version of 'androidx.legacy:legacy-support-core-ui' that satisfies the version
constraints:
Dependency path 'android:app:unspecified' --> 'de.mintware.barcode_scan:barcode_scan:1.0-SNAPSHOT' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0'
Dependency path 'android:app:unspecified' --> 'de.mintware.barcode_scan:barcode_scan:1.0-SNAPSHOT' --> 'com.google.android.material:material:1.0.0' --> 'androidx.recyclerview:recyclerview:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0'
Constraint path 'android:app:unspecified' --> 'androidx.legacy:legacy-support-core-ui' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01 Constraint path 'android:app:unspecified' --> 'androidx.legacy:legacy-support-core-ui' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01 Constraint path 'android:app:unspecified' --> 'androidx.legacy:legacy-support-core-ui' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
> Could not resolve androidx.legacy:legacy-support-core-utils:1.0.0.
Required by:
project :app > com.google.android.material:material:1.0.0
project :app > androidx.legacy:legacy-support-core-ui:1.0.0
> Cannot find a version of 'androidx.legacy:legacy-support-core-utils' that satisfies the version constraints:
Dependency path 'android:app:unspecified' --> 'de.mintware.barcode_scan:barcode_scan:1.0-SNAPSHOT' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0'
Dependency path 'android:app:unspecified' --> 'de.mintware.barcode_scan:barcode_scan:1.0-SNAPSHOT' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0'
Constraint path 'android:app:unspecified' --> 'androidx.legacy:legacy-support-core-utils'
strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
Constraint path 'android:app:unspecified' --> 'androidx.legacy:legacy-support-core-utils'
strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
Constraint path 'android:app:unspecified' --> 'androidx.legacy:legacy-support-core-utils'
strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
> Could not resolve androidx.coordinatorlayout:coordinatorlayout:1.0.0.
Required by:
project :app > androidx.legacy:legacy-support-core-ui:1.0.0
> Cannot find a version of 'androidx.coordinatorlayout:coordinatorlayout' that satisfies the version constraints:
Dependency path 'android:app:unspecified' --> 'de.mintware.barcode_scan:barcode_scan:1.0-SNAPSHOT' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.coordinatorlayout:coordinatorlayout:1.0.0'
Constraint path 'android:app:unspecified' --> 'androidx.coordinatorlayout:coordinatorlayout' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
Constraint path 'android:app:unspecified' --> 'androidx.coordinatorlayout:coordinatorlayout' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
> Could not resolve androidx.slidingpanelayout:slidingpanelayout:1.0.0.
Required by:
project :app > androidx.legacy:legacy-support-core-ui:1.0.0
> Cannot find a version of 'androidx.slidingpanelayout:slidingpanelayout' that satisfies the version constraints:
Dependency path 'android:app:unspecified' --> 'de.mintware.barcode_scan:barcode_scan:1.0-SNAPSHOT' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.slidingpanelayout:slidingpanelayout:1.0.0'
Constraint path 'android:app:unspecified' --> 'androidx.slidingpanelayout:slidingpanelayout' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
Constraint path 'android:app:unspecified' --> 'androidx.slidingpanelayout:slidingpanelayout' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
> Could not resolve androidx.swiperefreshlayout:swiperefreshlayout:1.0.0.
Required by:
project :app > androidx.legacy:legacy-support-core-ui:1.0.0
> Cannot find a version of 'androidx.swiperefreshlayout:swiperefreshlayout' that satisfies the
version constraints:
Dependency path 'android:app:unspecified' --> 'de.mintware.barcode_scan:barcode_scan:1.0-SNAPSHOT' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0'
Constraint path 'android:app:unspecified' --> 'androidx.swiperefreshlayout:swiperefreshlayout' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
Constraint path 'android:app:unspecified' --> 'androidx.swiperefreshlayout:swiperefreshlayout' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
> Could not resolve androidx.asynclayoutinflater:asynclayoutinflater:1.0.0.
Required by:
project :app > androidx.legacy:legacy-support-core-ui:1.0.0
> Cannot find a version of 'androidx.asynclayoutinflater:asynclayoutinflater' that satisfies the version constraints:
Dependency path 'android:app:unspecified' --> 'de.mintware.barcode_scan:barcode_scan:1.0-SNAPSHOT' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-ui:1.0.0' --> 'androidx.asynclayoutinflater:asynclayoutinflater:1.0.0'
Constraint path 'android:app:unspecified' --> 'androidx.asynclayoutinflater:asynclayoutinflater' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
Constraint path 'android:app:unspecified' --> 'androidx.asynclayoutinflater:asynclayoutinflater' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
> Could not resolve androidx.documentfile:documentfile:1.0.0.
Required by:
project :app > androidx.legacy:legacy-support-core-utils:1.0.0
> Cannot find a version of 'androidx.documentfile:documentfile' that satisfies the version constraints:
Dependency path 'android:app:unspecified' --> 'de.mintware.barcode_scan:barcode_scan:1.0-SNAPSHOT' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.documentfile:documentfile:1.0.0'
Constraint path 'android:app:unspecified' --> 'androidx.documentfile:documentfile' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
Constraint path 'android:app:unspecified' --> 'androidx.documentfile:documentfile' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
> Could not resolve androidx.localbroadcastmanager:localbroadcastmanager:1.0.0.
Required by:
project :app > androidx.legacy:legacy-support-core-utils:1.0.0
> Cannot find a version of 'androidx.localbroadcastmanager:localbroadcastmanager' that satisfies the version constraints:
Dependency path 'android:app:unspecified' --> 'de.mintware.barcode_scan:barcode_scan:1.0-SNAPSHOT' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
Constraint path 'android:app:unspecified' --> 'androidx.localbroadcastmanager:localbroadcastmanager' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
Constraint path 'android:app:unspecified' --> 'androidx.localbroadcastmanager:localbroadcastmanager' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
> Could not resolve androidx.print:print:1.0.0.
Required by:
project :app > androidx.legacy:legacy-support-core-utils:1.0.0
> Cannot find a version of 'androidx.print:print' that satisfies the version constraints:
Dependency path 'android:app:unspecified' --> 'de.mintware.barcode_scan:barcode_scan:1.0-SNAPSHOT' --> 'com.google.android.material:material:1.0.0' --> 'androidx.legacy:legacy-support-core-utils:1.0.0' --> 'androidx.print:print:1.0.0'
Constraint path 'android:app:unspecified' --> 'androidx.print:print' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
Constraint path 'android:app:unspecified' --> 'androidx.print:print' strictly '1.0.0-beta01' because of the following reason: debugRuntimeClasspath uses version 1.0.0-beta01
* 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 54s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 55,2s
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try usingJetfier to solve the incompatibility.
Building plugin barcode_scan...
Running Gradle task 'assembleAarRelease'...
Running Gradle task 'assembleAarRelease'... Done 1,8s
√ Built build\app\outputs\repo.
Building plugin esys_flutter_share...
Running Gradle task 'assembleAarRelease'...
Running Gradle task 'assembleAarRelease'... Done 2,0s
√ Built build\app\outputs\repo.
Building plugin file_picker...
Running Gradle task 'assembleAarRelease'...
Running Gradle task 'assembleAarRelease'... Done 1,9s
√ Built build\app\outputs\repo.
Building plugin flutter_webview_plugin...
The plugin flutter_webview_plugin could not be built due to the issue above.
Running Gradle task 'assembleAarRelease'... /```