flutter_background_geolocation_firebase icon indicating copy to clipboard operation
flutter_background_geolocation_firebase copied to clipboard

AndroidX incompatibilities

Open amirnodehi opened this issue 5 years ago • 5 comments

  • Plugin version: 0.1.0
  • Platform: Android

I am getting this error:

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 6s


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

amirnodehi avatar Feb 06 '20 00:02 amirnodehi

https://github.com/transistorsoft/flutter_background_geolocation_firebase/blob/master/help/INSTALL-ANDROID.md

christocracy avatar Feb 06 '20 00:02 christocracy

https://github.com/transistorsoft/flutter_background_geolocation_firebase/blob/master/help/INSTALL-ANDROID.md

My setup is correct. But I still get that error.

amirnodehi avatar Feb 06 '20 00:02 amirnodehi

$ cd android $ ./gradlew app:dependencies

Post any one of the dependency trees

christocracy avatar Feb 06 '20 00:02 christocracy

$ cd android $ ./gradlew app:dependencies

Post any one of the dependency trees

dependencies.txt

amirnodehi avatar Feb 06 '20 00:02 amirnodehi

Have you seen this? https://github.com/flutter/flutter/issues/27254

christocracy avatar Apr 16 '20 17:04 christocracy