Bug 460068 - Android crash upon app start
Summary: Android crash upon app start
Status: RESOLVED FIXED
Alias: None
Product: kweather
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Android Android 9.x
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-06 20:57 UTC by luzanlu382
Modified: 2022-10-23 21:18 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description luzanlu382 2022-10-06 20:57:31 UTC
SUMMARY
KWeather immediately crashes and is unusable on Android. 

STEPS TO REPRODUCE
1.  Tap on KWeather from launcher or app drawer

OBSERVED RESULT
App opens and header near top of screen displays KWeather, then screen goes completely white and app crashes/closes. 

EXPECTED RESULT
KWeather starts and allows normal usage. 

SOFTWARE/OS VERSIONS
Android: 9
KDE Plasma Version: NA
KDE Frameworks Version: NA
Qt Version: NA
KWeather Version: 22.09

ADDITIONAL INFORMATION
sudo logcat | grep kde

10-06 15:20:27.226 32400 32427 W kweather: qrc:/qml/settings/SettingsComponent.qml:13:1: module “org.kde.kirigamiaddons.labs.mobileform” is not installed
10-06 15:20:27.571 1664 2631 W InputDispatcher: channel ‘275329e org.kde.kweather/org.qtproject.qt5.android.bindings.QtActivity (server)’ ~ Consumer closed input channel or an error occurred. events=0x9
10-06 15:20:27.571 1664 2631 E InputDispatcher: channel ‘275329e org.kde.kweather/org.qtproject.qt5.android.bindings.QtActivity (server)’ ~ Channel is unrecoverably broken and will be disposed!
10-06 15:20:27.573 1664 1675 I ActivityManager: Process org.kde.kweather (pid 32400) has died: cch CRE
Comment 1 Devin Lin 2022-10-06 21:44:52 UTC
Looks like kirigami-addons is missing for the Android build.

CC: nicolas.fella@kde.org
Comment 2 tobias 2022-10-09 19:34:23 UTC
I also have this bug; I use an OS that is based on Android 11.
Comment 3 Devin Lin 2022-10-22 15:56:25 UTC
Added kirigami-addons to KWeather's android build: https://invent.kde.org/packaging/craft-blueprints-kde/-/merge_requests/467

Should be in the next release
Comment 4 tobias 2022-10-22 20:16:29 UTC
(In reply to Devin Lin from comment #3)
> Added kirigami-addons to KWeather's android build:
> https://invent.kde.org/packaging/craft-blueprints-kde/-/merge_requests/467
> 
> Should be in the next release

Thx, may I ask when the next release will be?
I think in this situation a faster, unregular (re-)release would be good.
Comment 5 Devin Lin 2022-10-22 20:18:35 UTC
(In reply to tobias from comment #4)
> Thx, may I ask when the next release will be?
> I think in this situation a faster, unregular (re-)release would be good.

*Next build I mean on binary factory, I am not sure how often they release these on FDroid or other places.

https://binary-factory.kde.org/job/KWeather_Nightly_android-arm64/
Comment 6 tobias 2022-10-23 21:18:37 UTC
(In reply to Devin Lin from comment #5)
> (In reply to tobias from comment #4)
> > Thx, may I ask when the next release will be?
> > I think in this situation a faster, unregular (re-)release would be good.
> 
> *Next build I mean on binary factory, I am not sure how often they release
> these on FDroid or other places.
> 
> https://binary-factory.kde.org/job/KWeather_Nightly_android-arm64/

Ok.
Just noticed that there is already a new release on F-Droid.
The App starts now and seems to work well.