在Andriod目录下建立assets文件,将html放进去
WebView {
id: webview
url: "file:///android_asset/BMap.html" //安装到安卓手机上后html会放到android_asset这个文件夹里,不能使用 assets:/
anchors.fill: parent
}
原文:https://blog.csdn.net/a937818496/article/details/48323225
在Andriod目录下建立assets文件,将html放进去
WebView {
id: webview
url: "file:///android_asset/BMap.html" //安装到安卓手机上后html会放到android_asset这个文件夹里,不能使用 assets:/
anchors.fill: parent
}
原文:https://blog.csdn.net/a937818496/article/details/48323225