-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
F-Droid can't build #331
Comments
tried with NDK 25 locally and... it builds fine 🤷 I've reenabled the build so it's retried in the next cycle: https://gitlab.com/fdroid/fdroiddata/-/commit/ba96949a3f28f23f6bb847aa2de1050a59d7b5c6 |
Not sure what is breaking because in the first log you attached the binaries are built just fine:
|
It builds but the apk is very large. https://monitor.f-droid.org/builds/log/com.gianlu.aria2app/230#site-footer
|
ah, so I guess @devgianlu has NDK 26 (?) installed somewhere in the system, and that one does the stripping... but unknowingly I tried to map the cases back in https://gitlab.com/fdroid/fdroidserver/-/issues/1207#note_1881935461 maybe I never tested to install ndk 26 via sdkmanager and keep |
The APKs for Google Play and FOSS are build with GH Actions: https://github.com/devgianlu/Aria2App/blob/master/.github/workflows/android.yml |
Those prebuilt libs are used in the action. F-Droid builds them from source. |
Yes, but the stripping should be done in that CI. The CI that built them does not strip: https://github.com/devgianlu/aria2-android/blob/master/.github/workflows/build.yml |
The prebuilt libs are about 5MB while our builds are about 50MB... So maybe we should just build the libs with an old NDK? |
Oh... I thought 5MB was already a lot, but it looks like they are indeed stripped:
No idea where they have been stripped and not sure why your build is complaining about the NDK version which I haven't set anywhere explicitly. |
I also can't find the ndk version. And it seems you don't have any ndk installed when building the apk. |
The ndk version is from a default value of AGP. Can you set a valid value of |
ref: https://monitor.f-droid.org/builds/log/com.gianlu.aria2app/230#site-footer
so I changed NDK to 26 but now it fails differently
what am I missing?
/LE: fyi https://gitlab.com/fdroid/fdroiddata/-/commit/ab6788e9070a318a2b80c2a963aa5bc5a8a83bc8
The text was updated successfully, but these errors were encountered: