Comments (16)
就这个问题,我找了4个小时!!!
from fluttertoast.
@Boehrsi the issue is with dependencies we cannot combine androidx and normal previous dependencies
as a temporary fix use v2.2.3
from fluttertoast.
Still having the same issue on 2.2.6.
@DFilipeS are you using androidX components somewhere in you app? If yes, you have to use 2.2.5.
from fluttertoast.
I solve this problem only by using the version 2.1.5. I have tried other ways, but they all don't solve this problem.
from fluttertoast.
This also caught me by surprise after upgrading. v2.2.3 works for me.
I do not think this plugin should use the AndroidX library (163a6be#diff-7ae5a9093507568eabbf35c3b0665732). There are a number of outstanding issues with Flutter and AndroidX, for example: flutter/flutter#23586
from fluttertoast.
v2.2.3 ok.
from fluttertoast.
issue is because of migrating libraries to androidx will fix it soon or i will try to revert it back.
from fluttertoast.
Does it work for you @aigic @JamesChenX if you use compilesdkversion 28 in the Android build.gradle file in your Flutter project? I'm currently using that setup together with the latest FlutterToast
version and it's working quite well. @ponnamkarthik sorry I wasn't aware of Flutter vs. AndroidX problems when committing the PR (#45).
from fluttertoast.
I'm using compilesdkversion 28 with v 2.25 and it isn't working. Going back to v 2.2.3 works for me.
from fluttertoast.
@ponnamkarthik, facing the same issue
from fluttertoast.
Same for me here basically on flutter starter project (Android Studio), even on 2.2.3.
Compile/Target SDKs 27
from fluttertoast.
Please check v2.2.6
from fluttertoast.
2.2.6 works. Thanks!
from fluttertoast.
import android.support.v4.content.ContextCompat;
no implementation
resolve:
remove
android.useAndroidX=true
android.enableJetifier=true
from fluttertoast.
Still having the same issue on 2.2.6.
from fluttertoast.
Hope its fixed
from fluttertoast.
Related Issues (20)
- FAILURE: fluttertoast:compileDebugJavaWithJavac HOT 3
- Kindly add MacOs support and atelast not give errors in testinf for MAC OS also fix BUGS in issues HOT 3
- 2 HOT 1
- In IOS toast display behind the keypad HOT 1
- Upgrade to flutter 3.22 HOT 2
- No implementation found for method showToast on channel PonnamKarthik/fluttertoast HOT 1
- [WEB] Wasm support HOT 1
- cancel() works only on the 1st time
- undefined name 'assetManager'
- Depreciation warnings HOT 1
- Support customizing toast position with gravity
- fluttertoast:compileDebugJavaWithJavac
- UnsupportedOperationException When Using Fluttertoast
- Remove references to deprecated v1 Android embedding
- web dependency is outdated now HOT 2
- so many issues
- fluttertoast:androidJdkImage
- Error: A value of type 'JSString' can't be assigned to a variable of type 'String'. HOT 8
- Lexical or Preprocessor Issue (Xcode): 'Flutter/Flutter.h' file not found
- Add Swift Package Manager support
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 fluttertoast.