I’ve created an app. Below is what I did :
I need it for Android SDK 16 (Android 4.1.1). BUT when I did ionic cordova platform add android it forces intall android 7.0.0. I tried ionic cordova platform add email@example.com with no success. Therefore, I changed 7.0.0 by 4.1.1 in packages.json. In config.xml, minSdkVersion, maxSdkVersion, targetSdkVersion are ALL set to 16.
The manipulation above got my app to be deployed via ionic cordova run android But with this, I got Connection to server was unsuccessful to “www/assets/index.html
To solve that, I used
<preference name="loadUrlTimeoutValue" value="70000" />in config.xml. But now when I run the app, it gets stuck on a white screen. No GUI appears. I tried setting preferences as suggested here but it did not change anything,
I need my app to be compatible with API 16 at least