-
Notifications
You must be signed in to change notification settings - Fork 27.8k
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
AAPT: error: resource android:attr/fontVariationSettings not found after Flutter Upgrade #27226
AAPT: error: resource android:attr/fontVariationSettings not found after Flutter Upgrade #27226
Comments
Looks similar to #27106 |
Please add the output of To investigate we would need a minimal runnable reproduction |
flutter doctor -v
#27106 is about moving to AndroidX, but I'm not planning to move as of now. Still using version 27.1.1. Strangely my 2 other applications work fine. |
|
I did the migration and I can compile now. Thanks @zoechi . |
Setting |
@zanecidan does this fix it for you as well? |
It looks like this was fixed for @zanecidan a few posts above. From here:
|
resource android:attr/fontVariationSettings not found resource android:attr/ttcIndex not found flutter/flutter#27226 (comment)
* change compileSdkVersion from 27 to 28 resource android:attr/fontVariationSettings not found resource android:attr/ttcIndex not found flutter/flutter#27226 (comment) * Upgrade to AndroidX add parameter for AndroidX
My Compiledsdkversioin is 28 only. But still facing the same issue.
|
I upgraded yesterday to 1.12.13. I now have exactly this issue. More info here #46881 |
I'm also facing the same issue when I run
|
I upgraded yesterday to 1.12.13. I have the same issue as well |
guys, i facing this issue too, can i know how you guys fix it? |
I had this issue with a couple of plugins that my project uses:
The issue was gone once these plugins were updated to use compiledsdkversioin set to 28. |
…blem not compiling after Flutter upgrade to 1.12. flutter/flutter#27226
my fix here adee42/flutter_keyboard_visibility#42 (comment) CC @nkmswot |
If anyone has this issue with some package
|
Didnt work for me. Didnt find solution already. Any suggestions ? Plus, android studio throws exception 'Cannot resolve symbol GradleException' at line 11 , but i ignore that one. Neither this: #46881 alexda12 reply did not work. |
I fixed this error by changing compileSdkVersion from 27 to 28 in one of the dependencies. So check build.gradle file in the repo of every dependency that you use. |
Thank you. It solved the issue |
To avoid this issue flutter/flutter#27226
Thanks this worked for me I had this issue in sharedpreferences package! I didn't know why! Can we open an issue for that? |
For those who still couldn't solve the issue, first of all find this line in your error log com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed To solve the issue 1- open android studio |
Do you get solution? |
My failure appears to be caused by: https://github.com/rickyazhari/root_checker/blob/master/android/build.gradle#L25 |
I remove all unused plugins from External Libraries folder and pub.yaml to solve the problem. |
…s (see: flutter/flutter#27226) and a breaking change to ImageStream listener API.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
My flutter application used to work perfectly until recently I decided to upgrade to Flutter version 1.0.0. After upgrade I'm getting the below errors during compilation in one of my project:
I've tried many things I can find in Google but none of them works. Appreciates for any help here.
The text was updated successfully, but these errors were encountered: