Cordova build returns missing plugin.xml

前端 未结 5 1144
独厮守ぢ
独厮守ぢ 2021-01-17 09:44

When i build my cordova project i get an warning message as:

Missing file: /home/vijay/workspace/Repos_temp/QuickTraq_Android/plugins/

5条回答
  •  借酒劲吻你
    2021-01-17 09:59

    The plugin.xml looks to be missing. The path to each added plugin's plugin.xml should be:

     /plugins//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
    

提交回复
热议问题