EmiyaSyahriel / CrossLauncher

XMB-like Android Launcher
MIT License
93 stars 8 forks source link

App crashes at start on any device that i tried! #29

Closed SCOS100 closed 1 year ago

SCOS100 commented 1 year ago

So, idk why but on every device that i own the app doesn't even start. If you find a solution, please help!

EmiyaSyahriel commented 1 year ago

May I know about these infos:

If you provide enough info, I might be able to investigate further and therefore know what's the problem with the launcher when running on any, if not all of these devices, though I cannot guarantee that this will be fixed soon.

Umm... shouldn't these questions in template?

SCOS100 commented 1 year ago

So i use a Huawei p smart 2018 with android 8.1.0 and a Tv made by Hitachi with android 9. I am using the latest version. The logcat does not show anything about the app. Oh, and the screen just goes black and it closes. And how should i screen record android tv, like how.

SCOS100 commented 1 year ago

(Also both devices has the same rom that they came with.)

CloudStrife98 commented 1 year ago

I have the same problem. Only versions alpha 1 alpha 2 and alpha 3 working on my device. This seems to be due to the addition of new features since alpha 4

EmiyaSyahriel commented 1 year ago

I cannot pinpoint what is the error by using my Samsung A03 Core (One UI), Nokia T20 (Android One), and a fresh image of AVD Emulator with Android 13 (Android One? IDK, it's AOSP with GApps) here using the APK from the release page, they are booting and running fine and no error thrown to logcat. I'll try another AVD with Android 8 this morning to see if it is running and not an API version-related problem.

Btw, @CloudStrife98 , what is your device brand and model, if I may know? If it is using Realme ROM, probably it is related to issue #32 , please confirm.

EmiyaSyahriel commented 1 year ago

I got it, using AVD with Android 8 (8.1, API 27) did throws out error, and yes, it is an API version-related problem. image

At last, some light were shed.

Edit : This is from the still in-development pinned shortcut category, which is not available until Android 10 (Q), I mistakenly left a TODO("reason") method there in case the launcher runs on Android before 10 and crashes immediately. I'll fix it as soon as my schedule is free and update the release page.

But, I also afraid that this is not all the case because someone on the showcase video at Youtube did say that the launcher also crashes on Android 13.

EmiyaSyahriel commented 1 year ago

Added New Release at Alpha 20230327

Please test this new release and give me follow ups if the problem is persist in this release APK.

SCOS100 commented 1 year ago

Thanks for the fix, now I will close the issue

EmiyaSyahriel commented 1 year ago

@CloudStrife98 Can you follow these steps?