离子devapp只是搜索 [英] Ionic devapp just searching
问题描述
我在使用Ionic DevApp应用程序时遇到问题..我使用了在浏览器中打开的"ionic serve -c"命令,但是在我的设备上它只是在寻找..在网络上监听应用程序".它没有出现在我的设备上,但是我已经在2个其他设备上进行了测试,并且在项目中将它们显示在列表中.我什至格式化了我的Android设备,但仍然找不到该项目.有人知道它可以是什么吗?为什么会这样呢?谢谢!
I'm having a problem with the Ionic DevApp application .. I use the "ionic serve -c" command it opens in the browser, but on my device it is just looking for .. "Listening for apps on your network". It is not appearing on my device, however I have already tested on 2 other devices, and in them appears the project in the list. I even formatted my Android device, but still can not find the project. Anyone have any idea what it can be? Why is this happening? Thanks!
推荐答案
如何使用devapp运行离子应用程序:
How to run the ionic app using devapp:
- 通过cmd线导航到Ionic Project文件夹.
- 禁用防火墙-启用防火墙是导致缓冲问题的原因.
- 运行cmd
ionic serve --devapp
- 在您的android手机上的devapp中搜索该应用,该应用已连接到相同的wifi网络(例如Hotspot或通过家用Wifi路由器).
- Navigate to the Ionic Project folder via cmd line.
- Disable your Firewall - Enabled Firewall is what causes the buffering problem.
- Run cmd
ionic serve --devapp
- Search for the app in the devapp on your android phone which is connected to the same wifi network like Hotspot or via Home Wifi Router.
这篇关于离子devapp只是搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!