Skip to content

Instantly share code, notes, and snippets.

@velsa
Created December 16, 2018 22:36
Show Gist options
  • Save velsa/3ad2314ee6b8148aba6560a2e566ee50 to your computer and use it in GitHub Desktop.
Save velsa/3ad2314ee6b8148aba6560a2e566ee50 to your computer and use it in GitHub Desktop.
[ +1 ms] FAILURE: Build failed with an exception.
[ +2 ms] * What went wrong:
[ ] Execution failed for task ':app:preDebugBuild'.
[ ] > Android dependency 'com.android.support:support-compat' has different version for the compile (26.1.0)
and runtime (27.1.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
[ +356 ms] Gradle task 'assembleDebug'... (completed)
[ +14 ms] "flutter run" took 12,755ms.
Gradle task assembleDebug failed with exit code 1
#0 throwToolExit (package:flutter_tools/src/base/common.dart:26:3)
#1 _buildGradleProjectV2 (package:flutter_tools/src/android/gradle.dart:399:5)
<asynchronous suspension>
#2 buildGradleProject (package:flutter_tools/src/android/gradle.dart:300:14)
<asynchronous suspension>
#3 buildApk (package:flutter_tools/src/android/apk.dart:43:10)
<asynchronous suspension>
#4 AndroidDevice.startApp (package:flutter_tools/src/android/android_device.dart:379:13)
<asynchronous suspension>
#5 FlutterDevice.runHot (package:flutter_tools/src/resident_runner.dart:289:54)
<asynchronous suspension>
#6 HotRunner.run (package:flutter_tools/src/run_hot.dart:272:39)
<asynchronous suspension>
#7 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:398:37)
<asynchronous suspension>
#8 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:401:18)
#9 _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#10 _rootRunUnary (dart:async/zone.dart:1132:38)
#11 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#12 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#13 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#14 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#15 Future._complete (dart:async/future_impl.dart:476:7)
#16 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#17 _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#18 _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
#19 RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#20 _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#21 _rootRunUnary (dart:async/zone.dart:1132:38)
#22 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#23 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#24 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#25 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#26 Future._complete (dart:async/future_impl.dart:476:7)
#27 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#28 _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async/runtime/libasync_patch.dart:33:20)
#29 _rootRun (dart:async/zone.dart:1124:13)
#30 _CustomZone.run (dart:async/zone.dart:1021:19)
#31 _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#32 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#33 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#34 _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#35 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment