Hi,
I try to run my ionic app on a android mobile having Android 4.4.2
When I run the app (ionic cordova run android) I have "ERR_CONNECTION_REFUSED"
I have seen this article https://ionic.zone/debug/ionic-and-android-4
But I also read that the last version of [email protected] is supposed to give back support for Android kitkat
Could you confirm and help me ?
Thanks
My conf
ionic cordova plugin ls
> cordova plugin ls
cordova-android-firebase-gradle-release 1.0.2 "cordova-android-firebase-gradle-release"
cordova-android-play-services-gradle-release 1.4.3 "cordova-android-play-services-gradle-release"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-firebase 2.0.2 "Google Firebase Plugin"
cordova-plugin-geolocation 2.4.3 "Geolocation"
cordova-plugin-ionic-keyboard 2.0.5 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 2.2.0 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova-support-google-services 1.2.1 "cordova-support-google-services"
phonegap-plugin-multidex 1.0.0 "Multidex"
node --version
v6.11.0
npm --version
3.10.10
ionic --version
4.1.2
Hi,
I try to run my ionic app on a android mobile having Android 4.4.2
When I run the app (ionic cordova run android) I have "ERR_CONNECTION_REFUSED"I have seen this article https://ionic.zone/debug/ionic-and-android-4
But I also read that the last version of [email protected] is supposed to give back support for Android kitkatCould you confirm and help me ?
Thanks
My conf
ionic cordova plugin ls > cordova plugin ls cordova-android-firebase-gradle-release 1.0.2 "cordova-android-firebase-gradle-release" cordova-android-play-services-gradle-release 1.4.3 "cordova-android-play-services-gradle-release" cordova-plugin-compat 1.2.0 "Compat" cordova-plugin-device 2.0.2 "Device" cordova-plugin-firebase 2.0.2 "Google Firebase Plugin" cordova-plugin-geolocation 2.4.3 "Geolocation" cordova-plugin-ionic-keyboard 2.0.5 "cordova-plugin-ionic-keyboard" cordova-plugin-ionic-webview 2.2.0 "cordova-plugin-ionic-webview" cordova-plugin-splashscreen 5.0.2 "Splashscreen" cordova-plugin-statusbar 2.4.2 "StatusBar" cordova-plugin-whitelist 1.3.3 "Whitelist" cordova-support-google-services 1.2.1 "cordova-support-google-services" phonegap-plugin-multidex 1.0.0 "Multidex"```
node --version
v6.11.0npm --version
3.10.10ionic --version
4.1.2
```
I have the exact same problem, updating to 2.2.0 fixed the error connection message but my app not work properly.
Hi,
I try to run my ionic app on a android mobile having Android 4.4.2
When I run the app (ionic cordova run android) I have "ERR_CONNECTION_REFUSED"
I have seen this article https://ionic.zone/debug/ionic-and-android-4
But I also read that the last version of [email protected] is supposed to give back support for Android kitkat
Could you confirm and help me ?
Thanks
My confionic cordova plugin ls > cordova plugin ls cordova-android-firebase-gradle-release 1.0.2 "cordova-android-firebase-gradle-release" cordova-android-play-services-gradle-release 1.4.3 "cordova-android-play-services-gradle-release" cordova-plugin-compat 1.2.0 "Compat" cordova-plugin-device 2.0.2 "Device" cordova-plugin-firebase 2.0.2 "Google Firebase Plugin" cordova-plugin-geolocation 2.4.3 "Geolocation" cordova-plugin-ionic-keyboard 2.0.5 "cordova-plugin-ionic-keyboard" cordova-plugin-ionic-webview 2.2.0 "cordova-plugin-ionic-webview" cordova-plugin-splashscreen 5.0.2 "Splashscreen" cordova-plugin-statusbar 2.4.2 "StatusBar" cordova-plugin-whitelist 1.3.3 "Whitelist" cordova-support-google-services 1.2.1 "cordova-support-google-services" phonegap-plugin-multidex 1.0.0 "Multidex"```
node --version
v6.11.0npm --version
3.10.10ionic --version
4.1.2
```I have the exact same problem, updating to 2.2.0 fixed the error connection message but my app not work properly.
Then it's not the exact same problem as you say the error connection message is fixed but the OP is about it not being fixed.
Create a separate issue about what doesn't work properly.
Hi,
I try to run my ionic app on a android mobile having Android 4.4.2
When I run the app (ionic cordova run android) I have "ERR_CONNECTION_REFUSED"
I have seen this article https://ionic.zone/debug/ionic-and-android-4
But I also read that the last version of [email protected] is supposed to give back support for Android kitkat
Could you confirm and help me ?
Thanks
My confionic cordova plugin ls > cordova plugin ls cordova-android-firebase-gradle-release 1.0.2 "cordova-android-firebase-gradle-release" cordova-android-play-services-gradle-release 1.4.3 "cordova-android-play-services-gradle-release" cordova-plugin-compat 1.2.0 "Compat" cordova-plugin-device 2.0.2 "Device" cordova-plugin-firebase 2.0.2 "Google Firebase Plugin" cordova-plugin-geolocation 2.4.3 "Geolocation" cordova-plugin-ionic-keyboard 2.0.5 "cordova-plugin-ionic-keyboard" cordova-plugin-ionic-webview 2.2.0 "cordova-plugin-ionic-webview" cordova-plugin-splashscreen 5.0.2 "Splashscreen" cordova-plugin-statusbar 2.4.2 "StatusBar" cordova-plugin-whitelist 1.3.3 "Whitelist" cordova-support-google-services 1.2.1 "cordova-support-google-services" phonegap-plugin-multidex 1.0.0 "Multidex"```
node --version
v6.11.0npm --version
3.10.10ionic --version
4.1.2
```I have the exact same problem, updating to 2.2.0 fixed the error connection message but my app not work properly.
Then it's not the exact same problem as you say the error connection message is fixed but the OP is about it not being fixed.
Create a separate issue about what doesn't work properly.
I'm sorry, you're right. My real problem was that Android 4.4 KitKat do not support the JavaScript Promise functions.
the problem is cordova-plugin-ionic-webview 2.2.0
check this link
https://ionic.zone/debug/ionic-and-android-4
i do
ionic cordova plugin rm cordova-plugin-ionic-webview
ionic cordova plugin add [email protected]
ionic cordova platforms remove android
ionic cordova build android
and done.!!