adee42 / flutter_keyboard_visibility

MIT License
237 stars 143 forks source link

Release not working. :keyboard_visibility:verifyReleaseResources' #62

Closed Alyahya-A closed 4 years ago

Alyahya-A commented 4 years ago

Hi, I have an issue after I run those command:

flutter run --release --verbose
flutter run --release

it's show me :

[        ] FAILURE: Build failed with an exception.
[        ] * What went wrong:
[        ] Execution failed for task ':keyboard_visibility:verifyReleaseResources'.
[        ] > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
[        ]    > Android resource linking failed
[        ]      /Users/abdulrahman/.gradle/caches/transforms-2/files-2.1/a219aaa53005fa677df3bfd14ede3871/core-1.1.0/res/values/values.xml:142:5-173:25: AAPT: error: resource android:attr/fontVariationSettings not found.
[        ]      /Users/abdulrahman/.gradle/caches/transforms-2/files-2.1/a219aaa53005fa677df3bfd14ede3871/core-1.1.0/res/values/values.xml:142:5-173: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 2m 7s

So, I can't install my app in my device (APK)..

Alyahya-A commented 4 years ago

A lot of thankss for @adrianvintu. He solved this issue #42