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

Error the in build.gradle file in android folder #152

Open
abdulrehman192 opened this issue Mar 13, 2024 · 0 comments
Open

Error the in build.gradle file in android folder #152

abdulrehman192 opened this issue Mar 13, 2024 · 0 comments
Labels

Comments

@abdulrehman192
Copy link

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.`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant