persenlee / native_share

flutter share
MIT License
5 stars 4 forks source link

Facing AndroidX Core lib Version Issue #1

Open rohitranjan1991 opened 5 years ago

rohitranjan1991 commented 5 years ago

Initializing gradle... Resolving dependencies... Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:preDebugBuild'. Android dependency 'androidx.core:core' has different version for the compile (1.0.0) and runtime >>(>1.0.1) 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 1s


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.


Finished with error: Gradle task assembleDebug failed with exit code 1

Any idea, how to fix this ?

persenlee commented 5 years ago

see more information about AndroidX compatibility https://goo.gl/CP92wY