cant run android project with Ionic app Preferences

Creating a project with ionic 4, add it android platform Add the App Preferences following Ionic app preferences documentation

Then execute the command: ionic cordova run android I receive the following error:

unhandled exception { Error: ENOENT: no such file or directory, mkdir 'C:\DevProjects\visualStudioCode\myProgect\platforms\android\res\xml' errno: -4058, code: 'ENOENT', syscall: 'mkdir', path: 'C:\DevProjects\visualStudioCode\myProgect\platforms\android\res\xml' }

Did anyone uncounted this problem? How can I solve it?