Guys i do not know know where to go because the kivy google group has been shut down
(https://groups.google.com/g/kivy-users) so i'm here because I have this persistent error that wont go away and I think i've done all I can but its still here I need help!!!
I'm trying to use WebView on my app but when I run the code I get this error:
Traceback (most recent call last):
from android.runnable import run_on_ui_thread
ModuleNotFoundError: No module named 'android'
from jnius import autoclass
from android.runnable import run_on_ui_thread
from kivy.uix.widget import Widget
WebView = autoclass('android.webkit.WebView')
WebViewClient = autoclass('android.webkit.WebViewClient')
activity = autoclass('org.kivy.android.PythonActivity').mActivity
@run_on_ui_thread
def open_website(self, dt):
webview = WebView(activity)
webview.getSettings().setJavaScriptEnabled(True)
wvc = WebViewClient();
webview.setWebViewClient(wvc);
activity.setContentView(webview)
webview.loadUrl("
https://www.google.com/")