Phonegap 3 doesn't copy plugins to platforms folder

后端 未结 5 1884
故里飘歌
故里飘歌 2020-12-25 14:33

I\'m using Phonegap3 http://phonegap.com/install/ but I\'m facing an issue with plugins:

After creating project using

phonegap create my-app

5条回答
  •  一向
    一向 (楼主)
    2020-12-25 15:10

    It is fixed now, the issue was that add plugin command adds to plugin files to platforms project too, so the build command not copying these files during the build phase, so all I had to do is to remove plugins/ folder content and platforms/ content then I did those steps:

    • phonegap local build android
    • phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git

    After all the add plugins commands should run only after all your platforms are added.

    For more information kindly check this

提交回复
热议问题