I'm having a deployment error when I'm trying to deploy my project to Android Emulator. The error says:
cordovaProject.projectConfig.getFileResources is not a function
I tried to search net and tried this solution here but still no luck. Can someone help me? Thanks!
PS: System Information
Visual Studio 2017 Version 15.5.7
Cordova-Android: 6.3.1
Cordova: 8.0.0
Gradle: 4.6
This problem basically comes from outdated Cordova version. Please use the below methods to resolve that.
npm uninstall -g cordova
npm install -g cordova
Then remove your platforms folder and add it again with below command.
cordova platform add android --save
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With