I'm building a cordova application, works fine with older version of android, when trying with an android 9 device this error occurred.
My client hase 7 android device with different android releases, I've created this app working with an android 7 device and works perfectly fine, when I installed the app on the new android 9 device this error occurres. I've tryed all the possible solutions found online:
- changing the timeout in the config.xml
<preference name="loadUrlTimeoutValue" value="700000" />
- changing the timeout in the MainActivity.java
super.setIntegerProperty("loadUrlTimeoutValue", 70000);
redirecting from "index.html" to "main.html";
uninstalling and reinstalling android platform;
using the cordova crosswalk plugin;
downgrading the cordova version;
upgrading the cordova version.
I'm thinking of downgrading the android version on all the android 9 devices