Comments (6)
@AmmarHazem if you just need a Twitter Sign In button as I do, use this in your pubspec.yaml
as a dependency.
flutter_twitter_login:
git: git://github.com/eudangeld/flutter_twitter_login.git
Worked for me.
from flutter_twitter_login.
Try to change the compileSdkVersion of the package to 29.
from flutter_twitter_login.
I did change it and now it gives me a new error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':flutter_twitter:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> 1 exception was raised by workers:
com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
/home/ammar/.gradle/caches/transforms-2/files-2.1/0845df40df3338031eda18776cbe4867/core-1.0.0/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/fontVariationSettings not found.
/home/ammar/.gradle/caches/transforms-2/files-2.1/0845df40df3338031eda18776cbe4867/core-1.0.0/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/ttcIndex not found.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 7s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 67.8s
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier
to solve the incompatibility.
Building plugin cloud_firestore...
The plugin cloud_firestore could not be built due to the issue above.
from flutter_twitter_login.
When I run
flutter build apk
it produces the following error* What went wrong: A problem occurred configuring root project 'flutter_twitter_login'. > Failed to notify project evaluation listener. > org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String;)V * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 7s The plugin flutter_twitter could not be built due to the issue above.
I've tried to migrate to Androidx using Android Studio but got the same error.
Steps to reproduce
- Create a new flutter project
- add
flutter_twitter: ^1.1.3
to dependencies in pubspec.yaml- run
flutter build apk
flutter doctor output
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Linux, locale en_US.UTF-8) [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3) [✓] Android Studio (version 3.6) [!] IntelliJ IDEA Community Edition (version 2019.3) ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. [✓] VS Code (version 1.43.2) [✓] Connected device (1 available)
Thanks in advance.
same issue
from flutter_twitter_login.
@AmmarHazem if you just need a Twitter Sign In button as I do, use this in your
pubspec.yaml
as a dependency.flutter_twitter_login: git: git://github.com/eudangeld/flutter_twitter_login.gitWorked for me.
It's not working for me and still give me same issue
from flutter_twitter_login.
@AmmarHazem if you just need a Twitter Sign In button as I do, use this in your
pubspec.yaml
as a dependency.flutter_twitter_login: git: git://github.com/eudangeld/flutter_twitter_login.gitWorked for me.
this worked for me thanks!
from flutter_twitter_login.
Related Issues (20)
- Login with firebase not working HOT 3
- Bug on compilation HOT 1
- Issue while create release apk HOT 6
- ITMS-90809: Deprecated API Usage UIWebView HOT 20
- TwitterLoginPlugin.java uses or overrides a deprecated API. HOT 1
- Twitter login is not working in Web application. HOT 3
- Getting "java.lang.IllegalStateException: Reply already submitted" when trying to sign in
- This plugin uses a deprecated API
- Update your code HOT 1
- Please upgrade compileSdkVersion to 28 HOT 2
- While using this plugin it shows some error
- What about migrate to null safety ? HOT 1
- Is this library being maintained? HOT 3
- MissingPluginException (MissingPluginException(No implementation found for method authorize on channel com.roughike/flutter_twitter_login)) HOT 1
- Bugs : with appstore release due to using of deprecated API
- After login state not returning to app HOT 3
- Login goes through webview instead of app?
- Getting null token from TwitterAuthProvider.credential method
- Migrating the plugin to the V2 embedding
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 flutter_twitter_login.