change this in config.xml
-
<widget id="com.illuminatus.qna" version="0.0.2" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">
-
<preference name="android-minSdkVersion" value="19" /> <preference name="android-targetSdkVersion" value="28" />
-
<edit-config file="AndroidManifest.xml" mode="merge" target="/manifest/application"> <application android:usesCleartextTraffic="true" /> <application android:allowBackup="false" /> <application android:fullBackupOnly="false" /> </edit-config>
then remove platform and re add platform
i) ionic cordova platform remove android
ii) ionic cordova platform add android
test it this should work