Could you create a pure Cordova project with cordova create, add the same cordova-android as in your project, and then build/run it via cordova build android?
Thanks for your help but the problem is the new version of cordova-plugin-ionic-webview 2.0 which breaks the compatibility with Android 4.4ā¦ I found the solution on another thread:
For future readers of this topic:
If the device you are testing on is using Android 4.x (e.g. Android 4.4 KitKat), this article might explain what is going on and how to fix it: https://ionic.zone/debug/ionic-and-android-4
actually i forget to call ionic cordova build android. I get this error ionic cordova platform add android then send to my phone without run build command. Cause there are no files under the www folder. Be sure, you are have got files under the www files.
@Ionic Team: I also have that issue, none of the solitions above worked. It happens in the emulator and on the real device. Itās really time consumingā¦Can you provide a solution, that works for all???
hi i am also facing same issue
import { HttpClient } from ā@angular/common/httpā;
this.http.get(url).subscribe((response) => {
this.appointment_types=response;
});
i am getting result in browser but not getting response in real device in android
please provide a solution i am using ionic 4 i am getting error like
zone.js:3243 GET http://localhost:8100/sockjs-node/info?t=1559937025579 net::ERR_CONNECTION_REFUSED