yuliskov / SmartTube

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

Smarttube can not be installed on Android TV 10 #3393

Open chfriedrich opened 3 months ago

chfriedrich commented 3 months ago

Hi, I tried to install the most recent stable (28544) as well as beta (79015) release on my Sony Bravia VH1 with Android 10 via FX explorer. FX explorer has permissions to install from unsafe sources. Anyway, the app could not be installed because Google Play Protect says "Unsafe App blocked" with the hint "This app was built for an older version of Android and does not include the latest privacy protections.

IMG_0518 IMG_0517

In fact, my Android TV version 10 is quite old... Is this a known problem? How do I fix it?

Lubje commented 3 months ago

Open the Play Store App. Click on your avatar in the top right corner. Go to Play Protect. Disable "Scan apps with Play Protect". Install SmartTube.

chfriedrich commented 3 months ago

Thanks for the help! Unfortunatelly on Android 10 there is no option to disable Play Protect, or at least not at my Sony TV... Sony does not provide an update to a newer android version, so I think I can not use Smarttube.

chfriedrich commented 3 months ago

Do you think it is possible to compile smarttube for Android TV 10? Could you give me a hint which toolchain I should use for that? I never compiled an android app before...

EmilyBonar commented 3 months ago

On my Android 12 Google TV the option to disable Play Protect is under Settings > Apps > Security, then turn off "Scan apps with Play Protect".

Haris1977 commented 3 months ago

@chfriedrich did you try to download the FTVNews downloader and enter the kutt.it/stn_stable command? Does this work?

Haris1977 commented 3 months ago

I can confirm that i installed smarttubenext on mySony Bravia android 11 tv without any issues. As @Lubje commented i had to disable the "scan apps with Play Protect" otherwise it wont install.

I dont know what happens on Android 10 though.

One small question if anyone knows: will the app update normally (when next update will come) if i have the "scan apps with Play Protect" enabled? Or do i need to disable it in order to update?

chfriedrich commented 3 months ago

I know that it should be possible to disable play protect in Settings->Apps->Security&Restrictions on Android TV 10. But on my tv, there is only one entry in Security&Restrictions, which is "Unknown sources". There I can give single apps the permission to install apps from unknown sources. I had already allowed this for all apps from the start, but the play protect scan was made anyways and I could not install Smarttube.

However, I found a workaround: Under Settings->Apps->Google Play Store, I can "Force quit" and "Disable" the play store. I did this and installed Smarttube. No play protect scan was made, the installation was successful. Then I enabled the play store again, and Smarttube is still working.

giejay commented 3 months ago

I know that it should be possible to disable play protect in Settings->Apps->Security&Restrictions on Android TV 10. But on my tv, there is only one entry in Security&Restrictions, which is "Unknown sources". There I can give single apps the permission to install apps from unknown sources. I had already allowed this for all apps from the start, but the play protect scan was made anyways and I could not install Smarttube.

However, I found a workaround: Under Settings->Apps->Google Play Store, I can "Force quit" and "Disable" the play store. I did this and installed Smarttube. No play protect scan was made, the installation was successful. Then I enabled the play store again, and Smarttube is still working.

Thanks for that workaround, it was the only one that worked for me with all the missing options.

habl commented 3 months ago

Had the same problem on my MiBox 4. For me the fix was similar but on a different location: Settings > Device Preferences > Security & restrictions > Turn off Verify apps.

Also have it working on a Nokia streaming box 8010 without a hazzle :)