Gradle task assembleDebug failed with exit code 1
Launching lib\main.dart on Android SDK built for x86 in debug mode... FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':app:preDebugBuild'.
Android dependency 'com.android.support:support-v4' has different version for the compile (27.1.1) and runtime (28.0.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.
- Get more help at https://help.gradle.org BUILD FAILED in 5s
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)
Hi...anybody able to fix this?. Should use androidx?
Same here, does anyone know how to fix the problem? Thanks.