Describe the bug
The Release package is not found.
To Reproduce
I ran pub get and pub upgrade.
Expected behavior
It was working in debug but not reliably in release.. now I see the error..
Screenshots```
What went wrong:
Execution failed for task ':app:processReleaseResources'.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource linking failed
/mnt/Data/git/buddhist_sun/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:4: AAPT: error: resource mipmap/ic_launcher_foreground (aka com.bksubhuti.buddhistsun.buddhist_sun:mipmap/ic_launcher_foreground) not found.
/mnt/Data/git/buddhist_sun/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:4: AAPT: error: resource mipmap/ic_launcher_foreground (aka com.bksubhuti.buddhistsun.buddhist_sun:mipmap/ic_launcher_foreground) not found.
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.
BUILD FAILED in 2s
Running Gradle task 'assembleRelease'... 3.0s
The build failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetifier to solve the incompatibility.
Building plugin flutter_background...
Running Gradle task 'assembleAarRelease'... 848ms
FAILURE: Build failed with an exception.
What went wrong:
Task 'assembleAarRelease' not found in root project 'flutter_background'.
Try:
Run gradlew tasks to get a list of available tasks. 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.
Describe the bug The Release package is not found.
To Reproduce I ran pub get and pub upgrade.
Expected behavior It was working in debug but not reliably in release.. now I see the error..
Screenshots```
What went wrong: Execution failed for task ':app:processReleaseResources'.
/mnt/Data/git/buddhist_sun/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:4: AAPT: error: resource mipmap/ic_launcher_foreground (aka com.bksubhuti.buddhistsun.buddhist_sun:mipmap/ic_launcher_foreground) not found.
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 2s Running Gradle task 'assembleRelease'... 3.0s The build failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetifier to solve the incompatibility. Building plugin flutter_background... Running Gradle task 'assembleAarRelease'... 848ms
FAILURE: Build failed with an exception.
What went wrong: Task 'assembleAarRelease' not found in root project 'flutter_background'.
Try: Run gradlew tasks to get a list of available tasks. 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 705ms
The plugin flutter_background could not be built due to the issue above. Process finished with exit code 1