The Life - Build failed

Please check The Life in F-Droid build status.

The build failed but I was able to compile and publish on Google Store and IOS. The problem is probably on your side.

Flutter sdk is 2.5

Thanks

1 Like

Perhaps the build log has some clues:

It’s the same code submitted to Google and IOS

I have fixed it. https://gitlab.com/fdroid/fdroiddata/-/commit/b390420aa28b1af30127f20e3724203b04ee4fdb

Thanks :sweat_smile: :+1:
Let’s see the build tonight.

Built!
Good job :+1: @linsui

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

Please check The Life in F-Droid build status.

The build failed but I was able to compile and publish on Google Store and IOS. The problem is probably on your side.

I upgraded to the latest Flutter Stable version and changed in android/app/build.gradle the compileSdkVersion to 31.
Target is still 30.

Thanks a lot.

Related: The Life - Build failed

It’s expected to fail every time you bump the flutter version. You can open an MR to bump it in fdroiddata to avoid this.

I’m not the only one: Update flutter on dev.linwood.butterfly (#2696) · Issues · F-Droid / Data · GitLab

Can’t resist a little rick roll’ish response… That’s Life!

https://monitor.f-droid.org/builds/log/org.hlwd.bible_multi_the_life/20220526#site-footer

* What went wrong:
Execution failed for task ':app:stripReleaseDebugSymbols'.
> No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi

Looks like you need a (certain) NDK? Brb testing

@hotlittlewhitedog bible_multi_the_life - add ndk (150af22a) · Commits · F-Droid / Data · GitLab

@linsui fyi flutter - No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi - Stack Overflow hence local installed 23 would fail

I’ve updated to test classpath "com.android.tools.build:gradle:4.0.1" and then it complained it found ndk23 but it wants ndk21 lol

Yes, I saw that so I want to remove the pre-installed NDK.

Is it buildable now?

I found this issue from Flutter:
In 2021, they removed all NDK and installed a downgrade version of the NDK.
NDK 20.1.5948944

https://github.com/flutter/flutter/issues/76393

Personally, I didn’t add or remove any NDK versions (managed by Android Studio), I only add SDK versions.
Maybe you just need to install the latest Android Studio Stable version :grinning:

Yes, I removed the preinstalled NDK. Lets wait for the next build cycle.