Skip to content
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

Recent versions crashing at startup on old Android device #885

Open
serpico opened this issue Dec 19, 2024 · 6 comments
Open

Recent versions crashing at startup on old Android device #885

serpico opened this issue Dec 19, 2024 · 6 comments

Comments

@serpico
Copy link

serpico commented Dec 19, 2024

Hi,

I'm using an old phone ( Asus Zenphone Z010D, Android 6.0.1 ) and from what I remember updating to a more recent version of waistline ( currently running waistline 3.5.0 from F-Droid ) would lead to the app crashing.

Would it make sense for me to to gradually update ( 5 versions from 3.5.0 to 3.7.2 ( in the Archive F-Droid repo ) and 3 others including the current 3.9.1 in the F-Droid repo ) and provide the results of adb logcat | grep waist.line ( or something similar ) so the crashes could be debugged and maybe fixed ?

Maybe contributors here prefer to focus on other tasks than maintaining the app for a small if not non-existent subset of users, which I would totally understand.

@davidhealey
Copy link
Owner

I wonder if this is caused because of the target SDK version @EmilJunker ?

@EmilJunker
Copy link
Contributor

@serpico Are you sure that 3.5.0 is the last version that still works on your phone? It would be helpful to know which exact version made the app incompatible with your phone.

Could you maybe try the versions from the GitHub releases instead of F-Droid and gradually upgrade to the latest version starting with 3.5.1? Just note that you will have to uninstall the app from F-Droid to do that because the app signatures are different (so make sure to back up your food and diary data first and move the exported json file to a secure location).

@serpico
Copy link
Author

serpico commented Dec 19, 2024

Ok I'll do this and report back the first version from github that crash.
Thanks for lightning fast answers.

@serpico
Copy link
Author

serpico commented Dec 20, 2024

  • [x ] Version 3.7.1 from github installed and started fine ( although Menu > About shows 3.7.0 as well as the app menu in Android - see screenshots )

Every time I try a different version I delete the previous .apk from the SD card, uninstall via the app menu in Android and shut down the phone then power it up again before copying the next version onto the SD card and installing it

Screenshot_20241220-090405

Screenshot_20241220-090427

  • Can't launch 3.7.2 downloaded from github here's the result of adb logcat | grep waist.line

logcat.txt

@EmilJunker
Copy link
Contributor

In version 3.7.2, we temporarily switched to a forked cordova camera plugin because the official camera plugin was incompatible with Android 13 at that time. In version 3.8.0, we then switched back to the official camera plugin.

@serpico Could you try to install version 3.8.0 as well just to see if it crashes too?

@serpico
Copy link
Author

serpico commented Dec 20, 2024

Here's the logcat with 3.8.0 downloaded from github
logcat.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants