PhilipsHue / flutter_reactive_ble

Flutter library that handles BLE operations for multiple devices.
https://developers.meethue.com/
Other
667 stars 334 forks source link

Clone Example App not running #818

Closed zubair999 closed 9 months ago

zubair999 commented 11 months ago

FAILURE: Build failed with an exception.

BUILD FAILED in 1s

=============================

Flutter Fix ───────────────────────────────────────────────────────────────────────────────────┐ │ [!] Your project's Gradle version is incompatible with the Java version that Flutter is using │ │ for Gradle. │ │ │ │ To fix this issue, first, check the Java version used by Flutter by running flutter doctor │ │ --verbose. │ │ │ │ Then, update the Gradle version specified in │ │ D:\flutter_app\flutter_reactive_ble\example\android\gradle\wrapper\gradle-wrapper.properties to │ │ be compatible with that Java version. See the link below for more information on compatible │ │ Java/Gradle versions: │ │ https://docs.gradle.org/current/userguide/compatibility.html#java

==================

Gradle setting in default example project

defaultConfig { applicationId "com.signify.hue.reactivebleexample" minSdkVersion 21 targetSdkVersion 31 versionCode flutterVersionCode.toInteger() versionName flutterVersionName }

Taym95 commented 9 months ago

fixed in latest