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

Runtime Exception Package not found: com.android.chrome on Android 8 Devices #26

Open
iamAliRaza opened this issue Mar 30, 2020 · 1 comment

Comments

@iamAliRaza
Copy link

Caused by java.lang.RuntimeException
Package not found: com.android.chrome

android.webkit.WebViewDelegate.getPackageId (WebViewDelegate.java:164)
yn.a (yn.java:7)
com.android.webview.chromium.WebViewChromiumFactoryProvider.a (WebViewChromiumFactoryProvider.java:54)
android.webkit.WebView. (WebView.java:571)
com.ct7ct7ct7.androidvimeoplayer.view.VimeoPlayer. (VimeoPlayer.java:1)
com.ct7ct7ct7.androidvimeoplayer.view.VimeoPlayerView. (VimeoPlayerView.java:3)
com.ct7ct7ct7.androidvimeoplayer.utils.JsBridge.addReadyListener (JsBridge.java:1)
com.ct7ct7ct7.androidvimeoplayer.view.VimeoPlayerView. (VimeoPlayerView.java:1)

java.lang.reflect.Constructor.newInstance0 (Constructor.java)
android.view.LayoutInflater.inflate (LayoutInflater.java:423)
com.unibuzz.ui.group.adapters.RemarkAdapter.onCreateViewHolder (RemarkAdapter.java:21)
androidx.recyclerview.widget.RecyclerView$Adapter.createViewHolder (RecyclerView.java:76)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1408)

@iamAliRaza
Copy link
Author

iamAliRaza commented Mar 30, 2020

I am using this library in Recycler View >> Same as describe instructions in ReadMe file.
I got this exception from Android 8 Device Samsung j7 Prime. On any other devices and Android Version its working fine. Also one more issue the caching is not working properly in recyclerView.
If i enabled cache like this>> player.init(true,videoID); and then i added new video on rumtime in recycler view i need to clear the cache first with the player instance then the video was working. Otherwise no. << Also its better to convert this library into AndroidX >>

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

No branches or pull requests

1 participant