aeri / Nihonoari-App

A little and minimalist Japanese Kana training
GNU General Public License v3.0
92 stars 9 forks source link

F-Droid build failed #41

Closed linsui closed 1 year ago

linsui commented 1 year ago

https://monitor.f-droid.org/builds/log/com.LAPARCELA.nihonoari/10#site-footer

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!

aeri commented 1 year ago

I am confused about this, I have had an error when compiling with a clean, isolated installation of Flutter 2.5.3 on GNU/Linux as specified in the build manifest.

This failure was due to a problem replacing the applicationName value in the AndroidManifest, now In the commit https://github.com/aeri/Nihonoari-App/commit/448f61cf1f19d715830d9fdddff1dc3cdf7843c4 the problem is fixed, however, the bug reported by the F-Droid build seems to have nothing to do with this,

Apparently it's a problem with AAPT2 but I'm not sure if it's in the code or in the compiling machine, I might as well update the Gradle version.

aeri commented 1 year ago

I updated the Gardle build tool version in a new commit (https://github.com/aeri/Nihonoari-App/commit/d98b87efa6ddfe2529756c51ed33701febbcd55c), could this solve the problem? I understand that I will have to delete the current release and re-publish it for F-Droid to pick up the changes.

linsui commented 1 year ago

Hopefully this can solve the problem. You don't need to re-tag the release. I'll update the build metadata. Thanks!

linsui commented 1 year ago

https://monitor.f-droid.org/builds/log/com.LAPARCELA.nihonoari/10#site-footer It builds. Thanks!

aeri commented 1 year ago

Great, thanks for the heads up.