dozingcat / Kumquats

GNU General Public License v3.0
11 stars 5 forks source link

F-Droid build failed #6

Open linsui opened 1 year ago

linsui commented 1 year ago
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeFdroidReleaseResources'.
> Multiple task action failures occurred:
   > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
      > AAPT2 aapt2-4.1.3-6503028-linux Daemon #0: Unexpected error during compile '/home/vagrant/build/com.dozingcatsoftware.kumquats/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png', attempting to stop daemon.
        This should not happen under normal circumstances, please file an issue if it does.
   > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
      > AAPT2 aapt2-4.1.3-6503028-linux Daemon #1: Unexpected error during compile '/home/vagrant/build/com.dozingcatsoftware.kumquats/android/app/src/main/res/mipmap-xxxhdpi/icon_foreground.png', attempting to stop daemon.
        This should not happen under normal circumstances, please file an issue if it does.

* 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 3m 58s

Could you please take a look? Thanks!

dozingcat commented 1 year ago

Hmm, not sure what's going on. fdroid build works fine on my machine. Might be related to https://stackoverflow.com/questions/64947285/why-is-android-studio-failing-to-build-with-an-aapt2-error-on-images

D19A66B55 commented 1 year ago

Kumquats is a great game. The only complaint I have is that neither you nor F-Droid has version 1.1.0 to download. This is a problem with F-Droid. It's a wait forever game. Is it that much trouble for you to have a download link on Github or somewhere that we don't have to wait until who knows when the update will be posted? Thank you for your hard work.

linsui commented 1 year ago

https://issuetracker.google.com/issues/184872412 This is an issue of AGP 4.1. Updating AGP to 4.2 or above should fix it. Could you please upgrade the AGP? Thanks!