Code Monkey home page Code Monkey logo

Comments (6)

vhgn avatar vhgn commented on August 22, 2024 3

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

deadsoul44 avatar deadsoul44 commented on August 22, 2024

Try to change the compileSdkVersion of the package to 29.

from flutter_twitter_login.

AmmarHazem avatar AmmarHazem commented on August 22, 2024

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.

niypoo avatar niypoo commented on August 22, 2024

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.

niypoo avatar niypoo commented on August 22, 2024

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

It's not working for me and still give me same issue

from flutter_twitter_login.

hgouveia avatar hgouveia commented on August 22, 2024

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

this worked for me thanks!

from flutter_twitter_login.

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.