Describe the bug
Failed to build example
To Reproduce
Steps to reproduce the behavior:
- clone this repo
- cd to example
- flutter run
- See error
Smartphone (please complete the following information):
- Device: Google Pixel 4 XL
- OS: Android 11
Additional context
Flutter version: 2.0.6
Stacktrace:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Android resource linking failed
Output: /tmp/rubber/example/build/app/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:86: error: resource android:attr/fontVariationSettings not found.
/tmp/rubber/example/build/app/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:87: error: resource android:attr/ttcIndex not found.
error: failed linking references.
Command: /home/nikto_b/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-linux.jar/2ff17d3944c8c56908a8c6111bdccaa8/aapt2-3.2.1-4818971-linux/aapt2 link -I\
/data/nikto_b/Android/SDK/platforms/android-27/android.jar\
--manifest\
/tmp/rubber/example/build/app/intermediates/merged_manifests/debug/processDebugManifest/merged/AndroidManifest.xml\
-o\
/tmp/rubber/example/build/app/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_\
-R\
@/tmp/rubber/example/build/app/intermediates/incremental/processDebugResources/resources-list-for-resources-debug.ap_.txt\
--auto-add-overlay\
--java\
/tmp/rubber/example/build/app/generated/not_namespaced_r_class_sources/debug/processDebugResources/r\
--custom-package\
app.mattiacrovero.example\
-0\
apk\
--output-text-symbols\
/tmp/rubber/example/build/app/intermediates/symbols/debug/R.txt\
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-linux Daemon #0
Output: /home/nikto_b/.gradle/caches/transforms-1/files-1.1/core-1.1.0.aar/bfcc3332caf165a9c90656c3cb3305cd/res/values/values.xml:174:5-210:25: AAPT: error: resource android:attr/fontVariationSettings not found.
/home/nikto_b/.gradle/caches/transforms-1/files-1.1/core-1.1.0.aar/bfcc3332caf165a9c90656c3cb3305cd/res/values/values.xml:174:5-210:25: AAPT: error: resource android:attr/ttcIndex not found.
error: failed linking references.
Command: /home/nikto_b/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-linux.jar/2ff17d3944c8c56908a8c6111bdccaa8/aapt2-3.2.1-4818971-linux/aapt2 link -I\
/data/nikto_b/Android/SDK/platforms/android-27/android.jar\
--manifest\
/tmp/rubber/example/build/app/intermediates/merged_manifests/debug/processDebugManifest/merged/AndroidManifest.xml\
-o\
/tmp/rubber/example/build/app/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_\
-R\
@/tmp/rubber/example/build/app/intermediates/incremental/processDebugResources/resources-list-for-resources-debug.ap_.txt\
--auto-add-overlay\
--java\
/tmp/rubber/example/build/app/generated/not_namespaced_r_class_sources/debug/processDebugResources/r\
--custom-package\
app.mattiacrovero.example\
-0\
apk\
--output-text-symbols\
/tmp/rubber/example/build/app/intermediates/symbols/debug/R.txt\
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-linux Daemon #0
* 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 10m 21s
Describe the bug
Failed to build example
To Reproduce
Steps to reproduce the behavior:
Smartphone (please complete the following information):
Additional context
Flutter version:
2.0.6Stacktrace: