Hello today I try to run my ionic app in adroid with the command ionic cordova run android but I have a issue:
Execution failed for task ':app:processDebugResources'.
> Android resource linking failed
C:\Users\diego\Desktop\pepsi\cbc-ionic\platforms\android\app\build\intermediates\merged_manifests\debug\AndroidManifest.xml:23: AAPT: error: resource xml/network_security_config (aka io.ionic.starter:xml/network_security_config) not found.
error: failed processing manifest.
Extra info:
before running the command ionic cordova run android, I executed the command’s:
npm i -g cordova@latest
npm i -g native-run
npm i -g cordova-res
ionic cordova resources
ionic cordova platform add android
cordova platform add android@8.0.0
ionic cordova run Android
I tried run this commands in order, but doesn’t work for me.
ionic cordova platform rm android
cordova platform add android@8.0.0