Couldnt connect to the sever(http://localhost:8080/) neterr_connection_refused

Couldnt connect to the sever(http://localhost:8080/) neterr_connection_refused_第1张图片

ionic3 cordova 安卓软件

安卓设备 android4.4.4
会出现这个问题
出现neterr_connection_refused http://localhost:8080/

Couldnt connect to the sever(http://localhost:8080/)

https://www.npmjs.com/package/cordova-plugin-ionic-webview
进行如下操作

ionic cordova plugin rm cordova-plugin-ionic-webview
ionic cordova platforms remove android
cordova plugin add cordova-plugin-ionic-webview@latest
npm install @ionic-native/[email protected]

将这个插件升级到最新版本 就可以了

你可能感兴趣的:(ionic3学习,cordova)