v 1.6.5 on Android crashes upon opening
Describe the bug When I try to open the app, it crashes. The app doesn't open at all.
To Reproduce Steps to reproduce the behavior:
- Click on app.
- App crashes and gives an error.
Expected behavior The app is supposed to open and give the linkhub main page to view and add new links.
Smartphone (please complete the following information):
- Device: Google Pixel 7
- OS: Android
- Version: 16
Additional context The problem started when I updated the app from the previous version. And since I don't have a backup of my links, I'm concerned that that I'll lose them forever if the app doesn't work again.
Similar here. Android 13 Fairphone 3 App v1.6.5 (1.6.4 worked)
Here is what LogFox caught:
Process: com.amrdeveloper.linkhub, PID: 27571
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.amrdeveloper.linkhub/com.amrdeveloper.linkhub.ui.MainActivity}: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3644)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3781)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:138)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2306)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7918)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Caused by: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.
at com.amrdeveloper.linkhub.ui.MainActivity.onCreate(SourceFile:203)
at android.app.Activity.performCreate(Activity.java:8342)
at android.app.Activity.performCreate(Activity.java:8321)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1417)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3625)
... 12 more```
Thank you for providing the crash log. I reverted #85 and created a new release, please try it
That's an .aab-file, can't handle it, sorry.
Sorry, forgot to upload the apk I uploaded it now
Can not be installed, conflict with an existing package. 🥺
Updated, but still facing the same issue. The app refuses to launch. It continues to crash upon launch.
This is weird, because I reverted it to 1.6.4, can you try fresh install?
This is weird, because I reverted it to 1.6.4, can you try fresh install?
This us a reply to whom?
This is weird, because I reverted it to 1.6.4, can you try fresh install?
This us a reply to whom?
It was to @junaidd09 about refusing to launch after updated, I will perform test on different devices too
This is weird, because I reverted it to 1.6.4, can you try fresh install?
This us a reply to whom?
It was to @junaidd09 about refusing to launch after updated, I will perform test on different devices too
I performed a fresh install of v1 6.5 and it still crashes on launch, but when I installed v1.6.4, it works as expected. No errors on v1.6.4.
@junaidd09 Thank you for confirming I will try to reproduce it and fix it
@junaidd09 Thank you for confirming I will try to reproduce it and fix it
Thank you for the prompt response.
And I think you should remove v1 6.5 for now, till this issue is fixed, so more people aren't affected by this update. Just my two cents on the issue.
Yes, make sense, thank you for suggesting
Yes, make sense, thank you for suggesting
You're doing an amazing service to us non-coding people by building this app, and I want to thank you for your contribution.
I performed a fresh install of v1 6.5
Wait, sorry, I mean to install 1.6.6, not 1.6.5
https://github.com/AmrDeveloper/LinkHub/releases/tag/1.6.6
For my installation, this seems fixed. Thank you very much! 🙏