welle.io icon indicating copy to clipboard operation
welle.io copied to clipboard

apk cannot be installed under Android

Open andimik opened this issue 1 year ago • 15 comments

The Android version dated 20240830 gives the following error on Android 13 and also Android 9

grafik

First reported in https://github.com/AlbrechtL/welle.io/issues/804#issuecomment-2324405771 by user @rkarikari

andimik avatar Sep 03 '24 16:09 andimik

Does it also happens when you try the APKs from https://github.com/AlbrechtL/welle.io/actions/runs/10682830350?

AlbrechtL avatar Sep 03 '24 17:09 AlbrechtL

yes, I get the very same error when attempting to install from the above link.

rkarikari avatar Sep 03 '24 17:09 rkarikari

Strange - something is going wrong during building ...

AlbrechtL avatar Sep 03 '24 21:09 AlbrechtL

Same here, the apk from the above link doesn't work neither.

andimik avatar Sep 04 '24 05:09 andimik

IIRC, you must sign the package (add a step or the required variable at configure time for this in android.yml github actions job), that's probably why it fails.

https://doc.qt.io/qt-6.5/cmake-variable-qt-android-sign-apk.html Maybe also https://doc-snapshots.qt.io/qt6-6.7/cmake-variable-qt-android-deployment-type.html

Which requires you to update the version of Qt-Android used to build in android.yml

When set to Release, the --release flag is passed to the androiddeployqt tool, regardless of the application build type. When set to another value, the --release flag is never passed to the tool, which effectively disables release package signing even in Release or RelWithDebInfo builds. When not set, the default behavior is to use release package signing in build types other than Debug.

tenzap avatar Sep 29 '24 11:09 tenzap

That could be the reason. @tenzap As you are the author of the Android Action pipeline can you update it and add the certificate process? Afterwards I can add my certificate.

AlbrechtL avatar Sep 30 '24 20:09 AlbrechtL

Sorry I'm not in that business Anymore, good luck.

tenzap avatar Oct 03 '24 04:10 tenzap

Hi, will this problem be solved? And could you provide a link to the latest working APK?

kostyamat avatar Oct 17 '24 02:10 kostyamat

https://github.com/AlbrechtL/welle.io/actions/workflows/android.yml is the CI workflow that builds the android app, just select the most recent run and download the desired artifact (either any/all arch, or aarch64(arm64)-only).

It is actually being signed by the workflow now, so that can be included in releases binaries, and this issue is solved.

tutacat avatar Oct 19 '24 20:10 tutacat

https://github.com/AlbrechtL/welle.io/actions/runs/11262592193/artifacts/2037144642

Tested .... and it installed and works great! Thanks

https://github.com/AlbrechtL/welle.io/actions/workflows/android.yml is the CI workflow that builds the android app, just select the most recent run and download the desired artifact (either any/all arch, or aarch64(arm64)-only).

It is actually being signed by the workflow now, so that can be included in releases binaries, and this issue is solved.

rkarikari avatar Oct 25 '24 15:10 rkarikari

Hint, the link only works when you are logged in in your browser (= I am using an app for github and all links are opened with a separate browser). Otherwise you will get a 404 error from github ...

andimik avatar Oct 25 '24 17:10 andimik

Hello, I was interested in trying out the software on Android, but I am getting "This workflow was disabled manually. " error. Are you planning to reactivate building the software for Android in the near future? (I am trying this logged in on Desktop browser). Thanks! In the meantime I will try the Ubuntu version.

phenosys avatar Jan 19 '25 00:01 phenosys

I was interested in trying out the software on Android, but I am getting "This workflow was disabled manually. " error. Are you planning to reactivate building the software for Android in the near future?

The Android workflow is unmaintained, currently. For that reason, it is disabled. It would be very nice if somebody would maintain it and providing PRs for it!

AlbrechtL avatar Jan 19 '25 21:01 AlbrechtL

I was interested in trying out the software on Android, but I am getting "This workflow was disabled manually. " error. Are you planning to reactivate building the software for Android in the near future?

The Android workflow is unmaintained, currently. For that reason, it is disabled. It would be very nice if somebody would maintain it and providing PRs for it!

how about adding this info to the project Readme? This would avoid a lot of confusion!

mi-hol avatar Feb 23 '25 16:02 mi-hol

@mi-hol Thanks for mentioning it! Can you create a pull request for the readme.md in the next branch, please?

AlbrechtL avatar Mar 07 '25 21:03 AlbrechtL