[英]WebView Android not load URL
我正在嘗試加載此網址“ https://install.appcenter.ms/orgs/osp/apps/gettze/distribution_groups/public ”,但無法在網絡視圖中工作,代碼如下:
mWebView.settings.javaScriptEnabled = true
mWebView.settings.loadsImagesAutomatically = true
mWebView.webViewClient = WebViewClient()
mWebView.loadUrl("https://install.appcenter.ms/orgs/osp/apps/gettze/distribution_groups/public")
在清單中添加互聯網權限
WebView myWebView = (WebView) findViewById(R.id.webview); myWebView.loadUrl("https://install.appcenter.ms/orgs/osp/apps/gettze/distribution_groups/public");
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.