-
Notifications
You must be signed in to change notification settings - Fork 74
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
App crashes at startup #51
Comments
Hi, @Kazurin-775 I just pushed a fix that might fix this issue. Could you fetch the latest codes and try again to see if it's really fixed? Thank you! |
Thanks for your quick reply! The app can be opened now (and it shows "EinkBro" on the bottom bar), but I still cannot interact with anything on the UI, or the app will still crash. This is the log when I tap on the menu button:
(BTW, I may be able to help with debugging, so if there is anything I can do, please tell me.) |
Is it happening after some version? or you just try to install EinkBro on your miReader device for the first time, and it just don't work normally? it looks like ninjaWebView is no initialized in the first place, but it should have in normal case. |
I added some logic to make sure a proper webview being created. Could you try again with this version: c854c57 |
If you can set breakpoint for debugging, please help to check if it enters this line while starting the app: https://github.com/plateaukao/browser/blob/main/app/src/main/java/de/baumann/browser/activity/BrowserActivity.kt#L713 |
The latest code (
Yes, the breakpoint is hit on app startup.
I've tried the F-Droid build (v8.17.0) and the GitHub release (v8.18.0), both versions have the same problem. Haven't tried any earlier version yet. |
It should all crash for old versions. Because originally I don't expect any device will enter that line... so there's no implementation for that scenario. Thanks for verifying the fix for me. I'll have a release for this fix. :) |
Here's the new version. :) https://github.com/plateaukao/browser/releases/tag/v8.18.1 |
Logcat:
main
branch, Git revisionc7b5c91
(the release builds on F-Droid or GitHub will generate stack traces with obfuscated symbols)The text was updated successfully, but these errors were encountered: