Ionic build command was working fine until I decided to add some custom splash screen and run the following command,
ionic resources
try to delete platforms\android\build\intermediates\incremental\mergeDebugResources\merged.dir\values-km
platforms\android\build\intermediates\incremental\mergeDebugResources\merged.dir\values-km
Its work for me!