Search code examples
hybrid-mobile-appphonegap-desktop-app

Selected folder doesn't contain a config.xml in phonegap


enter image description hereI am using windows 7 .my antivirus is now disabled. I want to build a hybrid app. i downloaded phone gap. when i creating new phone gap project their shows "Selected folder doesn't contain a config.xml ". I tried lot of time but i cant able to create a project .after seeing this message selected folder contain 4 folders but it is empty. I want to built a hybrid app but i am stuck in beginning stage.so please help me to solve problem.
i am attaching screenshot of project creation and error message .1st screen shot is how i created project.2nd one is error message when i click create project.3rd one is empty folders created in selected folder for creating project.

enter image description here enter image description here

When i select a folder with config file it show below error...enter image description here


Solution

  • It helped me to create the project through the PhoneGap CLI and then just add the project in the Gui. That worked for me

    1. Install phonegap Cli with npm: npm install -g phonegap@latest
    2. Go to your project folder and create the project: phonegap create testproject
    3. Start the PhoneGap Desktop App and add the existing project