Gitsaibot / AF-Weather-Widget

Graph weather widget for Android
53 stars 13 forks source link

Crash when tap on UI Settings #53

Closed SanskritFritz closed 6 months ago

SanskritFritz commented 6 months ago

New AF Weather Widget version 2.6 can't show UI Settings page, it crashes after tapping on "UI Settings" or "Measurement Units" in the Configure screen. In contrast to previous versions, the the Configure screen appears in black on white colours.

Here is the log:

05-18 15:08:23.351 I/ActivityManager(3769): Start proc 19470:net.gitsaibot.af/u0a255 for pre-top-activity {net.gitsaibot.af/net.gitsaibot.af.AfPreferenceActivity}
05-18 15:08:23.581 D/AfPrefFragment(19470): onCreate(): AfWidgetInfo(17,13,AfViewInfo(content://net.gitsaibot.af/aixviews/1,1,AfLocationInfo(content://net.gitsaibot.af/aixlocations/3,Rákoscsaba,Rákoscsaba, Budapest, Hungary,Europe/Budapest,null,null,47.48787,19.29807,1716037496417,-1,-1)))
05-18 15:08:24.856 E/AndroidRuntime(19470): Process: net.gitsaibot.af, PID: 19470
05-18 15:08:24.856 E/AndroidRuntime(19470): androidx.fragment.app.Fragment$f: Unable to instantiate fragment net.gitsaibot.af.AfUiPreferenceFragment: make sure class name exists
05-18 15:08:24.856 E/AndroidRuntime(19470):     at net.gitsaibot.af.AfPreferenceActivity.i(Unknown Source:20)
05-18 15:08:24.856 E/AndroidRuntime(19470):     at net.gitsaibot.af.AfPreferenceFragment.g(Unknown Source:13)
05-18 15:08:24.856 E/AndroidRuntime(19470): Caused by: java.lang.ClassNotFoundException: net.gitsaibot.af.AfUiPreferenceFragment
05-18 15:08:24.856 E/AndroidRuntime(19470): Caused by: java.lang.ClassNotFoundException: net.gitsaibot.af.AfUiPreferenceFragment
05-18 15:08:24.861 W/ActivityTaskManager(3769):   Force finishing activity net.gitsaibot.af/.AfPreferenceActivity
05-18 15:08:25.014 I/ActivityManager(3769): Process net.gitsaibot.af (pid 19470) has died: fg  TOP 
05-18 15:08:25.015 I/WindowManager(3769): WIN DEATH: Window{8b0e7d6 u0 net.gitsaibot.af/net.gitsaibot.af.AfPreferenceActivity}
05-18 15:08:25.368 W/ActivityTaskManager(3769): Activity top resumed state loss timeout for ActivityRecord{df09c4c u0 net.gitsaibot.af/.AfPreferenceActivity t-1 f}}

Device: Samsung Galaxy S7 (herolte) OS: LineageOS 18.1 (Android 11)

Gitsaibot commented 6 months ago

Solved in v2.7. The background colors is based on your phone color preference.

SanskritFritz commented 6 months ago

I have to wait now for F-Droid :) Have you considered releasing self signed apk packages yourself? More and more of us started to use Obtainium, we would very much like that.

Gitsaibot commented 6 months ago

Yes, F-Droid always needs some time ;)

Have you considered releasing self signed apk packages yourself?

No, I'm not planning to do that at the moment. I also want to avoid different signing keys because that usually leads to confusion among users.

SanskritFritz commented 6 months ago

While I wait for F-Droid, can you please tell me how to build your project without Android Studio, like on a headless server using only gradle?

Gitsaibot commented 6 months ago

I have only used android studio for this so far. That's why I don't know more than you do and unfortunately can't help you.

Gitsaibot commented 6 months ago

The new version has been available since yesterday.

SanskritFritz commented 6 months ago

Yes, I upgraded to 2.7 and all is well, thank you!