CodeMinion / another_brother

Another Brother Flutter SDK
BSD 3-Clause "New" or "Revised" License
21 stars 22 forks source link

Error on Android simulator #14

Closed vitorhpereira closed 3 years ago

vitorhpereira commented 3 years ago

What could be? I'm trying to execute your example. Thanks!

On Mac M1.


Error log:

`Running "flutter pub get" in myapp1... Launching lib/main.dart on sdk gphone64 arm64 in debug mode... Running Gradle task 'assembleDebug'... Note: /Users/vitor/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.8.0/android/src/main/java/com/pauldemarco/flutter_blue/FlutterBluePlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

2: Task failed with an exception.

BUILD FAILED in 8s Exception: Gradle task assembleDebug failed with exit code 1 `

CodeMinion commented 3 years ago

Hi @vitorhpereira !

Thanks for reaching out about this and apologies for the late reply. From the logs it seems you might have some stale libs so I would recommend running 'Flutter clean' and see if the problem goes away.

Hope it helps but please don't hesitate to reach out if you are still having trouble building.