jfoclpf commented on issue #508: URL: https://github.com/apache/cordova-cli/issues/508#issuecomment-810222228
I have a lot of these issues also. Remove the platform Android before your step 5 where you remove those 3 directories, and then add platform again. Cordova prepare doesn't fetch npm modules and plugins, just cordova platform add. In short, try this sequence ``` cordova platform rm android rm -rf platforms/ plugins/ node_modules/ cordova platform add android ``` It should work on the latest version of cordova cli -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
