Skip to content
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

Fix crash and modernize project #79

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

grantland
Copy link

@grantland grantland commented Dec 30, 2021

  • Fixes crashes on new shield tv #67. Crash was due to assuming app icons were of BitmapDrawable while they could actually be AdaptiveIconDrawable now, so update to support all kinds of Drawables
  • Modernize project just enough to work with modern gradle, but not enough to be able to be deployed on Google Play

@grantland
Copy link
Author

To deploy on Google Play it requires targetSdkVersion 29, but 29 has a few breaking changes:

  • Requires HTTPS, but can be worked around using android:usesCleartextTraffic="true"
  • Intent.ACTION_INSTALL_PACKAGE is deprecated and requires using PackageInstaller

@Rhylthus
Copy link

Hi grantland . Could you please generate an apk with your fix? Thanks.

@grantland
Copy link
Author

@Rhylthus I don't have a compiled binary ready, but you should be able to run ./gradlew installDebug (OSX) to build your own

@Rhylthus
Copy link

Will try to search. But I'm really a noob. Thanks!

@Rhylthus
Copy link

Sadly i have some error when trying to build gradlew installOpencommunityDebug (wxindows). I have errors:

Execution failed for task ':app:processOpencommunityDebugGoogleServices'.

No matching client found for package name 'news.androidtv.tvapprepo'

Could you please help me. I would like to use your modificaiton in order to get it work on my Shield. Thanks !

@grantland
Copy link
Author

@Rhylthus Have you tried using http://atvlauncher.trekgonewild.de/? This app really just does the same thing.

@Rhylthus
Copy link

@Rhylthus Have you tried using http://atvlauncher.trekgonewild.de/? This app really just does the same thing.

Thanks work great !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

crashes on new shield tv
2 participants