'Flutter - Android resource linking failed
I upgraded flutter to 2.10 version, and because some error was popping after upgrading to new version, I changed some code as given here -
and https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects
Please someone help me.
Here is the error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Android resource linking failed
C:\Users\Hp\.gradle\caches\transforms-2\files-2.1\b5b2e8f04cfcbf58ee08384a05e35d00\res\values\values.xml:85:5-117: AAPT: error: resource drawable/[launch_background] (aka in.newApp.consumer:drawable/[launch_background]) not found.
error: failed linking references.
* 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 53s
Exception: Gradle task assembleDebug failed with exit code 1
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|