When i build my cordova
project i get an warning message as:
Missing file: /home/vijay/workspace/Repos_temp/QuickTraq_Android/plugins/
The plugin.xml looks to be missing. The path to each added plugin's plugin.xml should be:
<yourapp>/plugins/<some-plugin>/plugin.xml
If you cannot find the plugin.xml files in those folders, you will have to manually download it from its git resource. Try adding device-rotation-vector
's xml from here and then run:
cordova plugin remove cordova-plugin-device-rotation-vector
If it works correctly, do the same for Toast plugin.
You can find the list of plugins installed using:
cordova plugin list
These solutions not worked for me. I just restarted the command prompt, then everything working fine
Please try to add the plugin from GitHub repository. I had to install app-preferences
plugin. So, I just did it like:
$ cordova plugin add https://github.com/apla/me.apla.cordova.app-preferences
Close all Windows that may touch upon the install. Then try to install again.
W10:... I had an open Command Prompt open to an Android build output folder. The install was unable to delete a file, which failed the install, until after I closed the Command Prompt window.
Remove folder "plugin_name" in rootApp_folder/plugins/plugin_name and try to add again.