chipweinberger/flutter_blue_plus

[Help]: Error when running the example app on the main branch as of 2024/10/06

oh-naoki opened this issue · 1 comments

Requirements

  • I've looked at the README 'Common Problems' section

Have you checked this problem on the example app?

Yes

FlutterBluePlus Version

1.33.0

Flutter Version

3.24.3

What OS?

Android

OS Version

Android 14

Bluetooth Module

None

What is your problem?

First of all, I would like to express my gratitude for developing such an amazing library ☺️
However, when I tried to run the example app from the main branch as of 2024/10/06, I encountered the following error, and the app failed to start.

Since I am a beginner with Flutter, I am not sure how to resolve this issue and would appreciate your help in addressing it.

Japanese word in Logs
エラー: シンボルを見つけられません means Error: Cannot find symbol

Logs

You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/to/flutter-gradle-plugin-apply

You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/to/flutter-gradle-plugin-apply

Warning: unable to detect project KGP version. Skipping version checking. 
This may be because you have applied KGP after the Flutter Gradle Plugin.
/Users/oh-naoki/Development/flutter_blue_plus/android/src/main/java/com/lib/flutter_blue_plus/FlutterBluePlusPlugin.java:2282: エラー: シンボルを見つけられません
            onCharacteristicReceived(gatt, characteristic, value, status);
                                                                  ^
  シンボル: 変数 status
エラー1個

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':flutter_blue_plus:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* 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 8s

fixed 1.33.1