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

Build Error:Release not found #41

Closed
bksubhuti opened this issue Aug 18, 2021 · 1 comment
Closed

Build Error:Release not found #41

bksubhuti opened this issue Aug 18, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@bksubhuti
Copy link

bksubhuti commented Aug 18, 2021

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.

  • 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

@bksubhuti bksubhuti added the bug Something isn't working label Aug 18, 2021
@bksubhuti
Copy link
Author

flutter clean and rebuild fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants