Hello. I am new to programming on Ionic. I am on Ionic version 5.4.16, and I am trying to build my Ionic Angular app that has been integrated with Cordova for Android. In the terminal in the root of my app, I type ionic cordova build android
, but I cannot get my app to build. The app builds up to a certain point, but crashes with the following error:
> Task :CordovaLib:generateDebugRFile FAILED
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':CordovaLib:generateDebugRFile' (type 'GenerateLibraryRFileTask').
> File 'C:\Projects\MyApp\platforms\android\CordovaLib\build\intermediates\local_only_symbol_list\debug\R-def.txt' specified for property 'localResourcesFile' does not exist.
Any support would be greatly appreciated! Thank you!
1 post - 1 participant