Skip to content
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

Example app build failed #68

Open
nikto-b opened this issue May 21, 2021 · 0 comments
Open

Example app build failed #68

nikto-b opened this issue May 21, 2021 · 0 comments

Comments

@nikto-b
Copy link

nikto-b commented May 21, 2021

Describe the bug
Failed to build example

To Reproduce
Steps to reproduce the behavior:

  1. clone this repo
  2. cd to example
  3. flutter run
  4. 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant