Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

error launching the example app #15

Open
Satendra124 opened this issue Jun 22, 2020 · 2 comments
Open

error launching the example app #15

Satendra124 opened this issue Jun 22, 2020 · 2 comments

Comments

@Satendra124
Copy link

I tried using your code from pub.dev to test the example app.
Just pasted the main. dart code but there seems an error while building the apk .
Here is the error

FAILURE: Build failed with an exception.
[ +3 ms] * What went wrong:
[ +1 ms] The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.10 and higher.
[ +1 ms] The following dependencies do not satisfy the required version:
[ +1 ms] project ':flutter_p2p' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.71
[ +2 ms] * Try:
[ +2 ms] 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.
[ +1 ms] * Get more help at https://help.gradle.org
[ +1 ms] BUILD FAILED in 2s
[ +347 ms] Running Gradle task 'assembleDebug'... (completed in 3.5s)
[+4011 ms] Exception: Gradle task assembleDebug failed with exit code 1
[ +1 ms] "flutter run" took 10,713ms.

0 throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:569:7)

2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:723:18)
3 _rootRunUnary (dart:async/zone.dart:1192:38)
4 _CustomZone.runUnary (dart:async/zone.dart:1085:19)
5 _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
6 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
7 Future._propagateToListeners (dart:async/future_impl.dart:711:32)
8 Future._completeWithValue (dart:async/future_impl.dart:526:5)
9 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
10 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:298:13)
11 RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
12 _rootRunUnary (dart:async/zone.dart:1192:38)
13 _CustomZone.runUnary (dart:async/zone.dart:1085:19)
14 _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
15 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
16 Future._propagateToListeners (dart:async/future_impl.dart:711:32)
17 Future._completeWithValue (dart:async/future_impl.dart:526:5)
18 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
19 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:298:13)
20 AndroidDevice.isLocalEmulator (package:flutter_tools/src/android/android_device.dart)
21 _rootRunUnary (dart:async/zone.dart:1192:38)
22 _CustomZone.runUnary (dart:async/zone.dart:1085:19)
23 _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
24 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
25 Future._propagateToListeners (dart:async/future_impl.dart:711:32)
6 Future._completeWithValue (dart:async/future_impl.dart:526:5)
27 Future._asyncComplete. (dart:async/future_impl.dart:556:7)
28 _rootRun (dart:async/zone.dart:1184:13)
9 _CustomZone.run (dart:async/zone.dart:1077:19)
30 _CustomZone.runGuarded (dart:async/zone.dart:979:7)
31 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1019:23)
32 _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
33 _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
34 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
35 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

Thank you

@ashwinair
Copy link

ashwinair commented Jul 4, 2020

@devtronic Any updates related to fix this issue pls. Getting same error

@devtronic
Copy link
Member

I'm working on a new release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants