thekirankumar / carstream-android-auto

A youtube/plex and local video (MP4/MKV) player for Android Auto
http://www.thekirankumar.com/blog/2017/12/29/play-youtube-video-android-auto-app/
Apache License 2.0
329 stars 107 forks source link

Carstream AA 2.0 keeps crashing #188

Open bryadsan opened 6 years ago

bryadsan commented 6 years ago

Hi,

I tried the v2.0 in my Samsung S9+ running in android v8.0 but keeps on crashing after launching the app.

Can't proceed with the instruction you provided since I am blocked in this issue. Are you able to provide a new build that would fix this issue?

Thank you.

air-hun commented 6 years ago

It's just for rooted devices. Does your phone rooted? Do you know what rooted mean?

Jayz2K commented 6 years ago

Same here (on phone). Happens after upgrade to v2.0.0. phone rooted, running lineageOS 15.1, magisk 16.0. Carstream superuser credentials ON. Tried to uninstall / reinstall, clearing datas / cache, giving manually all credentials ... No Luck. Any Idea ?

EDIT : Seems to be related to the webpage loading. Switched off mobile datas and wifi and when "unavailable page" showing, app seems stable. Switching on back datas makes it usable then. So it crashes immediately only when launching app with datas on. Always happens when youtube page finishes loading. Hope that helps.

No issues on car head Unit, works just fine. However, phone bug is annoying for login in, going to settings or activating Root from menu.

rafaferreirasantos commented 5 years ago

Same here (on phone). Happens after upgrade to v2.0.0. phone rooted, running lineageOS 15.1, magisk 16.0. Carstream superuser credentials ON. Tried to uninstall / reinstall, clearing datas / cache, giving manually all credentials ... No Luck. Any Idea ?

EDIT : Seems to be related to the webpage loading. Switched off mobile datas and wifi and when "unavailable page" showing, app seems stable. Switching on back datas makes it usable then. So it crashes immediately only when launching app with datas on. Always happens when youtube page finishes loading. Hope that helps.

No issues on car head Unit, works just fine. However, phone bug is annoying for login in, going to settings or activating Root from menu.

The same here. Does anyone know how to solve?

rafaferreirasantos commented 5 years ago

The problem is related to the update feature. It'll stop crashing if you comment this part of the code on: com.thekirankumar.youtubeauto.fragments.WebViewPhoneFragment.java

AppUpdater appUpdater = new AppUpdater(getActivity()) .setUpdateFrom(UpdateFrom.GITHUB) .setGitHubUserAndRepo(GITHUB_REPO_USERNAME, GITHUB_REPO_URL) .setDisplay(Display.DIALOG) .setButtonDoNotShowAgain("Huh, not interested"); appUpdater.start();