Comments (4)
@Hoikiiz demo,地址有了AppHostExample 项目,https://github.com/hite/AppHostExample
而且增加了 README.md 和 feature.md 你先看看
from apphost.
6.3 使用 weinre 调试严选页面 这个功能没看懂怎么用 可以指导下吗
from apphost.
- 启动自己的 weinre 服务器,比方 http://10.242.24.59:9090,需要注入的 js 路径是
You can use this script to inject the weinre target code into your web page.
http://10.242.24.59:9090/target/target-script-min.js#anonymous
- 启动 AppHostExample ,在演示页面点击第 3 个(因为这个页面是 http 的),到 WebView 界面。此时在 Remote Debugger (也就是 http://10.242.24.59:12345/ 页面)的命令输入框里,输入
:weinre http://10.242.24.59:9090/target/target-script-min.js#anonymous
- 退出“严选酒水页面”,再次“严选酒水页面”。(目的是为了让 WebView 重新初始化一次)
- 回到 weinre client 页面(如http://10.242.24.59:9090/client/#anonymous),就能看到可调试的链接了。
有两个关键点
- 必须是 http 或者 https 协议相同
- 在 WebView 打开的时候,执行 :weinre 命令,退出后,再进来。
你按照我的步骤再试试
from apphost.
@Hoikiiz demo,地址有了AppHostExample 项目,https://github.com/hite/AppHostExample
而且增加了 README.md 和 feature.md 你先看看
👍
from apphost.
Related Issues (8)
- Android端计划 HOT 1
- native 调用 web 没有 callback功能 HOT 5
- 开源出来的AHJSCoreManager代码是什么作用那 HOT 1
- 提几点建议 HOT 1
- 老铁整个交流群啊 有点困惑 HOT 2
- 使用中遇到的问题 HOT 1
- 支持浏览器debug吗? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apphost.