Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 5.0.3 failing to build app #653

Closed
Gufdoor opened this issue Dec 13, 2022 · 2 comments
Closed

Version 5.0.3 failing to build app #653

Gufdoor opened this issue Dec 13, 2022 · 2 comments

Comments

@Gufdoor
Copy link

Gufdoor commented Dec 13, 2022

Description
After updating to version 5.0.3, building an app always ends with an exception. I've tried many options, like running flutter pub get after flutter clean, changing package version and dependencies.

To reproduce
With an app already configured with Reactive BLE package, just try to build it.

Environment
Windows 11, Android Studio Dolphin | 2021.3.1 Patch 1, Flutter 3.3.9 • channel stable

Log

/C:/Users/a/Documents/flutter/.pub-cache/git/flutter_reactive_ble-4b5ed35fef136569c1efa56aa096919c839b9101/packages/flutter_reactive_ble/lib/src/reactive_ble.dart:12:1: Error: 'Logger' is imported from both 'package:flutter_reactive_ble/src/debug_logger.dart' and 'package:reactive_ble_platform_interface/src/logger.dart'.
import 'package:reactive_ble_platform_interface/reactive_ble_platform_interface.dart';
^^^^^^


FAILURE: Build failed with an exception.

* Where:
Script 'C:\Users\a\Documents\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1159

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDevDebug'.
> Process 'command 'C:\Users\a\Documents\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* 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 17s
Exception: Gradle task assembleDevDebug failed with exit code 1
@Gufdoor

This comment was marked as resolved.

@Taym95
Copy link
Collaborator

Taym95 commented Dec 20, 2022

duplicate #649

@Taym95 Taym95 closed this as completed Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants