Prior now everything was building fine with sdk 23 then recently i notice that when i run ionic cordova platform add android, is adding android-6.3.0 and set target sdk to 26, if i run ionic cordova build android it build successfully, BUT cant install app on my device of android6.0, it return error “Parse error, there was a problem parsing the package”.
I set target sdk on config.xml to 23, and set target=android-23 in project.properties, my android manifest targetsdkversion is 23. BUT it seems to ignore all this configuration and build with recent sdk.
below is my ionic info details
@ionic/cli-utils : 1.18.0
ionic (Ionic CLI) : 3.18.0
cordova (Cordova CLI) : 7.1.0
@ionic/app-scripts : 3.1.4 Cordova Platforms : android 6.3.0 Ionic Framework : ionic-angular 3.9.2
Node : v8.9.1 npm : 5.5.1 OS : Windows 10
ANDROID_HOME : not set
backend : pro
Pls i need solution to this problem