flutter_keyboard_visibility icon indicating copy to clipboard operation
flutter_keyboard_visibility copied to clipboard

Error the in build.gradle file in android folder

Open abdulrehman192 opened this issue 11 months ago • 0 comments

Describe the bug I am using the package flutter_typeahead which is using the package flutter_keyboard_visibility. When I try to run the app on android device I am facing the following error

Build file 'C:\Users\mrabd\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_keyboard_visibility-6.0.0\android\build.gradle' line: 24

To Reproduce Steps to reproduce the behavior:

  1. Go to 'build.gradle'
  2. Click on 'file'
  3. Scroll down to 'line number 24'
  4. See error

Expected behavior The plugin should work like charm

Info (please complete the following information): flutter_keyboard_visibility version: 6.0.0 Reproducible on platforms (Android, iOS, etc): Android 13.0 flutter doctor output:

`[√] Flutter (Channel stable, 3.19.3, on Microsoft Windows [Version 10.0.19045.4046], locale en-PK) • Flutter version 3.19.3 on channel stable at C:\src\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision ba39319843 (6 days ago), 2024-03-07 15:22:21 -0600 • Engine revision 2e4ba9c6fb • Dart version 3.3.1 • DevTools version 2.31.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at C:\Users\mrabd.jdks\openjdk-21.0.2 • Platform android-34, build-tools 34.0.0 • ANDROID_HOME = C:\Users\mrabd.jdks\openjdk-21.0.2 • ANDROID_SDK_ROOT = C:\Users\mrabd.jdks\openjdk-21.0.2 • Java binary at: C:\Program Files\Java\jdk-11.0.14\bin\java • Java version Java(TM) SE Runtime Environment 18.9 (build 11.0.14+8-LTS-263) X Android license status unknown. Run flutter doctor --android-licenses to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe) ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[!] Visual Studio - develop Windows apps (Visual Studio Build Tools 2019 16.11.33) • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools • Visual Studio Build Tools 2019 version 16.11.34407.143 X The current Visual Studio installation is incomplete. Please use Visual Studio Installer to complete the installation or reinstall Visual Studio.

[!] Android Studio (not installed) • Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[√] IntelliJ IDEA Community Edition (version 2023.3) • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2023.3.2 • Flutter plugin version 78.3.1 • Dart plugin version 233.14888

[√] VS Code (version 1.87.1) • VS Code at C:\Users\mrabd\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.84.0

[√] Connected device (3 available) • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 13 (API 33) (emulator) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.4046] • Edge (web) • edge • web-javascript • Microsoft Edge 122.0.2365.80

[√] Network resources • All expected network resources are available.

! Doctor found issues in 4 categories.`

abdulrehman192 avatar Mar 13 '24 09:03 abdulrehman192