New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release build fails due flutter_twitter dependency #14
Comments
I suspect it's instead a compatibility issue with Android: "android:attr/fontVariationSettings not found" |
Most of the people talk about changing compile sdk version to 28 in those links. In my build.gradle, it is already set to 28. flutter_twitter package can be outdated. Its first and last release is on May, before AndroidX hell. |
I will look into this further... |
You may have a resource the requires an even 'higher' SDK version, 29. |
It didn't work. We can close this issue if you think it is not related to auth and flutter_twitter. |
Allow me to look into it in a day or two....it's working for me, but there's something I may be missing. |
I removed all the stuff related flutter_twitter from the auth library and tried again and it worked. |
Ah! Excellent! For you, it allows you to get on with it. For me, it's a clue. Thanks. I'll see what I can do to address this. Removing flutter_twitter may be an option. |
Are you using the following Google Play services?: I am not using that particular package. If you are, possibly this solution will allow you to return the 'twitter stuff.': facebook/react-native#25293 (comment) Here are the contents of my gradle files as a cross reference: android/build.gradle
app/build.gradle
|
I am not using gcm. I am using the following dependencies. ` apply plugin: 'com.google.gms.google-services'` |
I tried v 5.0.1 but I still have this issue.
|
Updating the |
Hello, app build is failing in release mode due to flutter_twitter dependency. There is no problem in debug mode.
`flutter run --release
Launching lib\main.dart on MYA L41 in release mode...
FAILURE: Build failed with an exception.
Execution failed for task ':flutter_twitter:verifyReleaseResources'.
: 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 12s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 73.3s
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.
Running Gradle task 'assembleAarRelease'... `
The text was updated successfully, but these errors were encountered: