Ionic 3 应用程序无法在物理 android 设备上运行
Ionic 3 application not working on physical android device
Ionic 3 applications not running on physical device for testing.
After downloading the default application, using
`ionic start app_name sidemenu`
I plugged in my physical Android device for debugging.
When i executing the command `ionic cordova run android`,
I only see the flash then after few seconds a blank screen.
When trying to debug, i realize there is a java-script error.
拜托,建议将不胜感激。
您需要托管 api
并在 http
调用中用域名替换路径。
或
如果您使用本地网络,请使用本地网络 IP 地址并确保您的防火墙已关闭。
用 IP 地址替换位置主机,即 192.168.1.X:53703
Ionic 3 applications not running on physical device for testing.
After downloading the default application, using
`ionic start app_name sidemenu`
I plugged in my physical Android device for debugging.
When i executing the command `ionic cordova run android`,
I only see the flash then after few seconds a blank screen.
When trying to debug, i realize there is a java-script error.
您需要托管 api
并在 http
调用中用域名替换路径。
或
如果您使用本地网络,请使用本地网络 IP 地址并确保您的防火墙已关闭。
用 IP 地址替换位置主机,即 192.168.1.X:53703