yuliskov / SmartTube

SmartTube - an advanced player for set-top boxes and tvs running Android OS
https://www.patreon.com/smarttube
Other
19.59k stars 1.07k forks source link

Error returning to video in bg from left panel: "Unable to find explicit activity class..." in v17.35 Beta #2312

Open MailYouLater opened 1 year ago

MailYouLater commented 1 year ago

I've just updated to v17.35 Beta, and if I long-press on the title of a section (an item in the left pane), and choose "Return to video running in background", instead of bringing the video currently playing in the background to the foreground (as has occurred in all previos releases I've used), I get a toast message with this error:

Unable to find explicit activity class {com.liskovsoft.smarttubetv.beta/com.liskovsoft.smartyoutubetv2.tv.ui.main.SplashActivity}; have you declared this activity in your Android manifest.xml?

Please fix this, I use it a lot.

Screenshot: Screenshot

Rorrik404 commented 1 year ago

Fire TV 4k here: Also having this issue using the Android Bridge. A voice search for "cat videos on youtube" brings the page up. Hitting home (to Fire TV Dash) followed by a voice search for "dog videos on youtube" results black screen with white writing in the middle. Message the same as the user above found. However, if i then close this message, going back to the Fire TV home screen, and open the App directly, it's now showing dog videos as the search result.

I'm running STN Beta 17.52

MailYouLater commented 1 year ago

I forgot to mention before, I'm seeing this issue on a MiBox S running Android TV 9.

This continues to be a (very annoying) problem for me in every new beta release since reporting (including the current 17.52 beta) and I've noticed that this also occurs when pressing the back key to return to the video playing in the background after having sent the video to the background by activating the "Open channel" or "Search" button on the playback controls interface.

Seemingly a separate issue, but it may be related: I've also come to realize that I can no longer pick STN Beta when I share a YouTube link from another app, or when I try to launch one as an intent (via "Open in external application" option). The stable release is there, but not the beta. Prior to 17.35 Beta, both were present in both 'share' and 'open with' dialogs. Is it possible to verify that these problems are related? or should I open another issue for this?

MailYouLater commented 1 year ago

I'm still dealing with this problem on a daily basis, and so far every single beta release since it appeared still has the same problem. Strangely enough, despite the recent 17.61 stable release having the same version number as the 17.61 beta release, it still doesn't exhibit this behaviour... Other than the most obvious differences (package ID, name, logo) what other differences are there between the stable and beta versions? were any of those things altered around the time this bug was introduced? What about things that reference things which are different between them? were there changes that occured then that could have affected them?

I'm now running v17.62 Beta on my MiBox S with Android TV 9, still frustrated by this is issue, and kind of disapointed in the response (or lack thereof) this bug report has received in the last month.

MailYouLater commented 1 year ago

FYI, prior to this issue I had almost entirely switched to using SmartTube (Beta) as my only way to watch YouTube content. Not long after my last post on this issue (approximately 6 months ago) I basically stopped watching YouTube videos altogether, largely because of this issue. I'd really appreciate any help I can get in getting this issue fixed.

I've just finished going through the entire backlog of releases since the last time I'd updated SmartTube (Beta), and every new Beta version to date (including v19.46 Beta) still exhibits the issue I initially reported: I still can't return to a video playing in the background from the menu opened by long-pressing a 'section' title in the left panel.

Interestingly though, the very similar bug which I'd noted in a previous comment in this issue, which prevents the user from being able to press the back button to return to a video that's playing in the background because they had activated either the 'search' or 'open channel' buttons in the video control interface has been fixed in version 18.52 Beta and all subsequent beta releases to date (including v19.46 Beta). Perhaps that fix in v18.52 Beta could help figure out how to fix the bug this issue was opened for too?