Bug 418257 - App not starting on Android
Summary: App not starting on Android
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: nightly build (please specify the git hash!)
Platform: Android Android 9.x
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-27 15:33 UTC by Petra Viola Beck
Modified: 2020-10-22 12:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Crash log (7.77 KB, text/plain)
2020-03-01 11:29 UTC, Petra Viola Beck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petra Viola Beck 2020-02-27 15:33:01 UTC
SUMMARY
The last working nightly build is 4e672a5. Any newer build is crashing instantly.

STEPS TO REPRODUCE
1. Download, self-sign and install any of the nightly builds since the mentioned hash.
2. Try to start the app.

OBSERVED RESULT
The app is not starting / crashing immediately.

EXPECTED RESULT
Running application

SOFTWARE/OS VERSIONS
Android: 9

ADDITIONAL INFORMATION
Hardware: Samsung Galaxy Tab S3
Comment 1 Tiar 2020-02-27 15:35:55 UTC
Most probably related to python problems and bug 418230 .
Comment 2 sh_zam 2020-02-27 19:49:25 UTC
I am afraid, I can't reproduce it. I installed this: https://binary-factory.kde.org/job/Krita_Nightly_Android_Build/179/ and it worked as expected.

I am not sure if you have ndk tools to get logs. So, could you please do this:

1) Launch Krita while keeping it connected to PC.
2) Immediately enter this command (before Krita gets time to crash) `adb logcat --pid=$(adb shell pgrep krita)`

And then you can paste logs here.

If that doesn't work, you can try `adb logcat | grep "krita"` to get somewhat meaningful crash log. So we can at least get an idea of what is causing the crash.
Comment 3 Petra Viola Beck 2020-03-01 11:29:16 UTC
Created attachment 126517 [details]
Crash log

I attached the log.
Comment 4 sh_zam 2020-04-13 20:43:14 UTC
I think this was a side effect, when we upgraded Qt to 5.12.7. It should be fixed now, hopefully.
Comment 5 Petra Viola Beck 2020-04-15 11:19:17 UTC
It still has the same issue.
Comment 6 sh_zam 2020-04-15 18:04:17 UTC
(In reply to Petra Viola Beck from comment #5)
> It still has the same issue.

That's very weird. Looking at the log. It looks like libqtforandroid.so isn't binary compatible with other core library. 

Which is absurd! But not impossible, considering the fact that QPA Android manually extracts the  plugins and places them into qt-reserverd-files. So, it might not be updating libqtforandroid, for reasons I am not aware of, right now.

As for the solution, I would suggest you to uninstall Krita with `adb uninstall org.krita` (mandatory) and then install it again.


PS: If you want signed binaries, you can get them here: https://krita-artists.org/t/making-and-testing-the-android-build-from-source/436/42?u=sh-zam

PS+1: Mind that the current master is very unstable.
Comment 7 Petra Viola Beck 2020-04-22 08:31:10 UTC
Reinstall doesn't fix it, I'm using the latest working version, which is git 4e672a5 for me.
Comment 8 Petra Viola Beck 2020-04-22 08:32:44 UTC
Also, I've tried all of those signed APKs, all of them failed to install. I didn't check the logs, why.
Comment 9 sh_zam 2020-10-07 16:18:14 UTC
Hello!

We have a lot of Tab S3 devices running Krita, guess this isn't a problem anymore? :)
Comment 10 Bug Janitor Service 2020-10-22 04:33:15 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Petra Viola Beck 2020-10-22 11:39:03 UTC
It is working since the beta release, thank you!