Comments (5)
Hello @gianalmada ,
Thanks for reporting this.
Here are a couple of questions:
- Can you please paste here the result of the
flutter doctor -v
command? - Same for
flutter build --verbose
? - Is AndoirdX enabled in your project?
from searchable_dropdown.
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.
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.
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.
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)
- Selcted value is not changes if I give preselected value HOT 6
- Search is not working when i use value as Id inside onChanged
- How to get the selected value not index in multiple?
- Search is not working when, I use value as Id Int inside Value DropdownMenuItem HOT 1
- Provide async call to API on typing search HOT 1
- null safety HOT 1
- Clear the selected value programatically
- Is it possible to reduce the popup size like height , width after dropdown is opened HOT 1
- selectedItems how to get values in string instead of id in numbers HOT 1
- When dropdown is clicked, UI should not get expanded, the items should display like normal dropdown effect HOT 1
- By default selected initial value HOT 1
- Add the ability to put hints in dialog search
- Need support for search delay (debounce) HOT 4
- Remove default padding HOT 2
- In multiple select option is not working properly
- Failed to build iOS app
- Compilation failed Flutter 2.5.0 HOT 7
- The getter 'subhead' isn't defined for the class 'TextTheme' - Cannot Debug/Run Flutter App HOT 13
- Can you update library to version 2 with null safty? HOT 1
- error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from searchable_dropdown.