qrcode_scanner icon indicating copy to clipboard operation
qrcode_scanner copied to clipboard

support androidX

Open pulller opened this issue 5 years ago • 3 comments

The plugin is worked, but can't support androidX well. Maybe you can update for it.

pulller avatar Dec 17 '19 07:12 pulller

I have the same problem.

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:preDebugBuild'.

Android dependency 'androidx.versionedparcelable:versionedparcelable' has different version for the compile (1.0.0) and runtime (1.1.0) classpath. You should manually set the same version via DependencyResolution

  • 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 18s


The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app. See https://goo.gl/CP92wY for more information on the problem and how to fix it.


Gradle task assembleDebug failed with exit code 1 Exited (sigterm)

linmq avatar Dec 27 '19 08:12 linmq

Same here, did you guys discovered a solution?

mdalboni avatar Jan 16 '20 13:01 mdalboni

@pulller , @mdalboni Issue resolved by updating:

dependencies { classpath 'com.android.tools.build:gradle:3.5.0' }

But qrScan Scan() function does not work, it scans but returns nothing

sanasz91mdev avatar Feb 17 '20 10:02 sanasz91mdev