First of all, hello. I tried to make an app I saw on YouTube using Android Studio. No problems with gradle or any part of the application. I encountered an error while building APK for the application I made with Flutter. The error is exactly like this:
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:keyboard_visibility:verifyReleaseResources’.
java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
C:\app\build\keyboard_visibility\intermediates\res\merged\release\values\values.xml:171: error: resource android:attr/fontVariationSettings not found.
C:\app\build\keyboard_visibility\intermediates\res\merged\release\values\values.xml:172: error: resource android:attr/ttcIndex not found.
error: failed linking references.
Burada belirtilen dosyaya gi
When I went to the file specified here and looked at lines 171 and 172, I saw that I did not make any changes to these files, and I did not even know that such a file existed. I didn’t know what to do. I am very confused in English sources, most of them are already old. I can also send the codes in zip form to anyone who wants to see them exactly. I’m waiting for your help.
Note: I am using the latest versions of Android Studio, Flutter and Dart. CompileSdkVersion and targetSdkVersion 29 in Gradle section.