Giter Club home page Giter Club logo

Comments (5)

lcuis avatar lcuis commented on August 22, 2024

Hello @gianalmada ,

Thanks for reporting this.

Here are a couple of questions:

  1. Can you please paste here the result of the flutter doctor -v command?
  2. Same for flutter build --verbose?
  3. Is AndoirdX enabled in your project?

from searchable_dropdown.

lcuis avatar lcuis commented on August 22, 2024

Here is how I tried reproducing your issue with no success so far.

Minimalist project with searchable_dropdown example with:

 AndroidX support    Kotlin support    Result
  no                  no                searchable_dropdown 1.1.2 worked
  no                  yes               searchable_dropdown 1.1.2 worked
  yes                 no                searchable_dropdown 1.1.2 worked

The case with both supports is the normal scenario that I usually use.

I am using Android Studio on Debian Linux with the following flutter --version output:

Flutter 1.15.3 • channel dev • https://github.com/flutter/flutter.git
Framework • revision 67826bdce5 (5 weeks ago) • 2020-02-10 14:59:32 -0800
Engine • revision 6158f03ef5
Tools • Dart 2.8.0 (build 2.8.0-dev.8.0 514a8d4c84)

Do you see something that might explain why this is working for me and not for you?

Is there a minimalist project that you could share with me so that I can try reproducing this issue on my machine?

Sorry for the inconvenience.

from searchable_dropdown.

gianalmada avatar gianalmada commented on August 22, 2024

Hello @gianalmada ,

Thanks for reporting this.

Here are a couple of questions:

1. Can you please paste here the result of the `flutter doctor -v` command?

2. Same for `flutter build --verbose`?

3. Is AndoirdX enabled in your project?

1.
[√] Flutter (Channel unknown, v1.9.1+hotfix.6, on Microsoft Windows [Version 10.0.18363.720], locale en-US)
• Flutter version 1.9.1+hotfix.6 at C:\src\flutter
• Framework revision 68587a0916 (6 months ago), 2019-09-13 19:46:58 -0700
• Engine revision b863200c37
• Dart version 2.5.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at C:\Users\giana\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
• All Android licenses accepted.

[√] Android Studio (version 3.6)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] Connected device (1 available)
• Redmi Note 8 • 12666e56 • android-arm64 • Android 9 (API 28)

• No issues found!

2.
[ +40 ms] executing: [C:\src\flutter] git log -n 1 --pretty=format:%H
[ +117 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ +3 ms] 68587a0916366e9512a78df22c44163d041dd5f3
[ ] executing: [C:\src\flutter] git describe --match v*.. --first-parent --long --tags
[ +93 ms] Exit code 0 from: git describe --match v*.. --first-parent --long --tags
[ ] v1.9.1+hotfix.6-0-g68587a091
[ +10 ms] executing: [C:\src\flutter] git rev-parse --abbrev-ref --symbolic @{u}
[ +69 ms] Exit code 128 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] fatal: HEAD does not point to a branch
3.
yes, im using it

from searchable_dropdown.

gianalmada avatar gianalmada commented on August 22, 2024

Here is how I tried reproducing your issue with no success so far.

Minimalist project with searchable_dropdown example with:

 AndroidX support    Kotlin support    Result
  no                  no                searchable_dropdown 1.1.2 worked
  no                  yes               searchable_dropdown 1.1.2 worked
  yes                 no                searchable_dropdown 1.1.2 worked

The case with both supports is the normal scenario that I usually use.

I am using Android Studio on Debian Linux with the following flutter --version output:

Flutter 1.15.3 • channel dev • https://github.com/flutter/flutter.git
Framework • revision 67826bdce5 (5 weeks ago) • 2020-02-10 14:59:32 -0800
Engine • revision 6158f03ef5
Tools • Dart 2.8.0 (build 2.8.0-dev.8.0 514a8d4c84)

Do you see something that might explain why this is working for me and not for you?

Is there a minimalist project that you could share with me so that I can try reproducing this issue on my machine?

Sorry for the inconvenience.

i think, this package not include in your android build gradle:
implementation "androidx.annotation:annotation:1.0.0"
implementation "com.android.support:support-annotations:28.0.0"
and causing error,

from searchable_dropdown.

lcuis avatar lcuis commented on August 22, 2024

Thanks for your feedback @gianalmada !

It seems to me that the initial version of the plugin didn't have any annotation related lines in the android/build.gradle file:
1c85f07#diff-7ae5a9093507568eabbf35c3b0665732

Is there something that makes you say that this could be the source of the issue?

Is there something I can do to confirm or not whether this is the source of the issue?

It seems to me that your version of Flutter is almost 5 months old. Could you please try an update of Flutter and dart, followed by a flutter clean and build again to see if this solves your issue?

from searchable_dropdown.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.