android - 使用 ADB 的 HTML 查看器错误 "Err cache Miss"

标签 android android-webview adb

为什么下面的命令会返回附图中的结果?以及如何解决?

 adb shell am start -n com.android.htmlviewer/.HTMLViewerActivity -d "https://www.google.com" -a VIEW -t "text/html"

enter image description here

最佳答案

添加权限:

<uses-permission android:name="android.permission.INTERNET"/>

关于android - 使用 ADB 的 HTML 查看器错误 "Err cache Miss",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47890185/

相关文章:

android - 如何通过 ADB 获取屏幕像素的颜色

android - 从 appium 命令识别 genymotion 模拟器的问题

android - Android 中的线程

android - 如何获取通过 `gradlew install`安装的应用程序的应用程序ID?

android - 当 4.0.4 中的 WebView 很大时,WebView 上的行为非常奇怪

android - 无效链接不调用 WebView shouldOverrideUrlLoading()

android - 如何通过 ADB shell 广播带有附加功能的 Intent ?

java - 有没有办法在ROS noetic中使用rosjava

android - 是否可以在android的新导航组件中发送字符串或整数以外的参数

当按下后退按钮时,android 完成 Activity 包含一个 webview