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

not running #4

Open
bekirelifkeremoruc opened this issue Jun 6, 2020 · 1 comment
Open

not running #4

bekirelifkeremoruc opened this issue Jun 6, 2020 · 1 comment

Comments

@bekirelifkeremoruc
Copy link

Hello,

I got this error

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugResources'.

Android resource linking failed
Output: C:\Users\bekir.bekir\AndroidStudioProjects\grocery_shop_flutter\build\app\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:86: error: resource android:attr/fontVariationSettings not found.
C:\Users\bekir.bekir\AndroidStudioProjects\grocery_shop_flutter\build\app\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:87: error: resource android:attr/ttcIndex not found.
error: failed linking references.

Command: C:\Users\bekir.bekir.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\c69c876981768cff6015918706246784\aapt2-3.2.1-4818971-windows\aapt2.exe link -I
C:\Users\bekir.bekir\AppData\Local\Android\sdk\platforms\android-27\android.jar
--manifest
C:\Users\bekir.bekir\AndroidStudioProjects\grocery_shop_flutter\build\app\intermediates\merged_manifests\debug\processDebugManifest\merged\AndroidManifest.xml
-o
C:\Users\bekir.bekir\AndroidStudioProjects\grocery_shop_flutter\build\app\intermediates\processed_res\debug\processDebugResources\out\resources-debug.ap_
-R
@C:\Users\bekir.bekir\AndroidStudioProjects\grocery_shop_flutter\build\app\intermediates\incremental\processDebugResources\resources-list-for-resources-debug.ap_.txt
--auto-add-overlay
--java
C:\Users\bekir.bekir\AndroidStudioProjects\grocery_shop_flutter\build\app\generated\not_namespaced_r_class_sources\debug\processDebugResources\r
--custom-package
com.example.groceryshopflutter
-0
apk
--output-text-symbols
C:\Users\bekir.bekir\AndroidStudioProjects\grocery_shop_flutter\build\app\intermediates\symbols\debug\R.txt
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-windows Daemon #0
Output: C:\Users\bekir.bekir.gradle\caches\transforms-1\files-1.1\core-1.1.0.aar\28acfc79e2f9c99a8f128ff13cade351\res\values\values.xml:174:5-210:25: AAPT: error: resource android:attr/fontVariationSettings not found.

C:\Users\bekir.bekir.gradle\caches\transforms-1\files-1.1\core-1.1.0.aar\28acfc79e2f9c99a8f128ff13cade351\res\values\values.xml:174:5-210:25: AAPT: error: resource android:attr/ttcIndex not found.

error: failed linking references.
Command: C:\Users\bekir.bekir.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\c69c876981768cff6015918706246784\aapt2-3.2.1-4818971-windows\aapt2.exe link -I
C:\Users\bekir.bekir\AppData\Local\Android\sdk\platforms\android-27\android.jar
--manifest
C:\Users\bekir.bekir\AndroidStudioProjects\grocery_shop_flutter\build\app\intermediates\merged_manifests\debug\processDebugManifest\merged\AndroidManifest.xml
-o
C:\Users\bekir.bekir\AndroidStudioProjects\grocery_shop_flutter\build\app\intermediates\processed_res\debug\processDebugResources\out\resources-debug.ap_
-R
@C:\Users\bekir.bekir\AndroidStudioProjects\grocery_shop_flutter\build\app\intermediates\incremental\processDebugResources\resources-list-for-resources-debug.ap_.txt
--auto-add-overlay
--java
C:\Users\bekir.bekir\AndroidStudioProjects\grocery_shop_flutter\build\app\generated\not_namespaced_r_class_sources\debug\processDebugResources\r
--custom-package
com.example.groceryshopflutter
-0
apk
--output-text-symbols
C:\Users\bekir.bekir\AndroidStudioProjects\grocery_shop_flutter\build\app\intermediates\symbols\debug\R.txt
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-windows 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.
@GursheeshSingh
Copy link

Change in app/build.gradle

compileSdkVersion 28

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

2 participants