Cordova 2.1.0 (PhoneGap) create script for Android says “Project already exists” or “An error occurred. Deleting project”

前端 未结 11 1554
孤独总比滥情好
孤独总比滥情好 2020-12-05 17:45

I am trying to create an Android project on Windows using Cordova 2.2.0 (PhoneGap). According to this blog post this command should work -

         


        
11条回答
  •  盖世英雄少女心
    2020-12-05 18:12

    I have also had the same experience with Windows while creating new PhoneGap project. Then I tried with relative path. For my case I wanted to create project under C:\phonegap_projects\ parent folder and my PhoneGap bin was under C:\phonegap\cordova-2.7.0\android\ parent folder. So I tried with, after navigating to C:\phonegap\cordova-2.7.0\android\bin directory:

    create ..\..\..\..\phonegap_projects\  
    

    This worked for me.

提交回复
热议问题