Hi,
I'm not much experienced in Android or Flutter. So I was trying to run the program but it is showing the following errors :
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':app:processDebugResources'.
Android resource linking failed
Output: D:\android games\a\bad-dad-joke-master\build\app\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:189: error: resource android:attr/fontVariationSettings not found.
D:\android games\a\bad-dad-joke-master\build\app\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:190: error: resource android:attr/ttcIndex not found.
error: failed linking references.
Command: C:\Users\saumy.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\1ff095e8d2ddefe633f74a08a4990831\aapt2-3.2.1-4818971-windows\aapt2.exe link -I
C:\Users\saumy\AppData\Local\Android\sdk\platforms\android-27\android.jar
--manifest
D:\android games\a\bad-dad-joke-master\build\app\intermediates\merged_manifests\debug\processDebugManifest\merged\AndroidManifest.xml
-o
D:\android games\a\bad-dad-joke-master\build\app\intermediates\processed_res\debug\processDebugResources\out\resources-debug.ap_
-R
@D:\android games\a\bad-dad-joke-master\build\app\intermediates\incremental\processDebugResources\resources-list-for-resources-debug.ap_.txt
--auto-add-overlay
--java
D:\android games\a\bad-dad-joke-master\build\app\generated\not_namespaced_r_class_sources\debug\processDebugResources\r
--custom-package
com.example.baddadjokes
-0
apk
--output-text-symbols
D:\android games\a\bad-dad-joke-master\build\app\intermediates\symbols\debug\R.txt
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-windows Daemon #0
Output: C:\Users\saumy.gradle\caches\transforms-1\files-1.1\core-1.0.0-beta01.aar\4d0393322d840dd86ec9c495dcdec99d\res\values\values.xml:89:5-125:25: AAPT: error: resource android:attr/fontVariationSettings not found.
C:\Users\saumy.gradle\caches\transforms-1\files-1.1\core-1.0.0-beta01.aar\4d0393322d840dd86ec9c495dcdec99d\res\values\values.xml:89:5-125:25: AAPT: error: resource android:attr/ttcIndex not found.
error: failed linking references.
Command: C:\Users\saumy.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\1ff095e8d2ddefe633f74a08a4990831\aapt2-3.2.1-4818971-windows\aapt2.exe link -I
C:\Users\saumy\AppData\Local\Android\sdk\platforms\android-27\android.jar
--manifest
D:\android games\a\bad-dad-joke-master\build\app\intermediates\merged_manifests\debug\processDebugManifest\merged\AndroidManifest.xml
-o
D:\android games\a\bad-dad-joke-master\build\app\intermediates\processed_res\debug\processDebugResources\out\resources-debug.ap_
-R
@D:\android games\a\bad-dad-joke-master\build\app\intermediates\incremental\processDebugResources\resources-list-for-resources-debug.ap_.txt
--auto-add-overlay
--java
D:\android games\a\bad-dad-joke-master\build\app\generated\not_namespaced_r_class_sources\debug\processDebugResources\r
--custom-package
com.example.baddadjokes
-0
apk
--output-text-symbols
D:\android games\a\bad-dad-joke-master\build\app\intermediates\symbols\debug\R.txt
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-windows Daemon #0
BUILD FAILED in 26s
The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.
Finished with error: Gradle task assembleDebug failed with exit code
Can you please let me know what can be the problem?