CordovaStarter-x.x.x.zip not found with phonegap for windows mobile

僤鯓⒐⒋嵵緔 提交于 2019-12-19 08:18:05

问题


I was going through the getting started guide for windows phone in phonegap ( cordova )

and I completed

  • Download and install Windows Phone SDK
  • Download the latest copy of Cordova and extract its contents

The next step is

  • *copy the file CordovaStarter-x.x.x.zip to the folder : \My Documents\Visual Studio 2010\Templates\ProjectTemplates*

I could not find the zip file with cordova, which I downloaded. Could anyone please help me out.


回答1:


CordovaStarter-x.x.x.zip is a template , to start with phonegap-windows. If it is missing in your downloaded content you can create it.

  • Open the file lib\windows-phone\templates\standalone\CordovaSolution.sln in Visual Studio Express for Windows Phone
  • From the file menu, select 'Export Template...'
  • Choose template type 'Project template'
  • Give the exported template a name, ex. CordovaStarter-2.1.0 will produce CordovaStarter-2.1.0.zip
  • Optionally, you may add a description, icon image, and Preview image. These are what is displayed in Visual Studio in the 'New Project' dialog.-
  • Note: If you select ( 'Automatically import the template ... ') then you will not need to copy the .zip file over as outlined in the phonegap guide.
  • Press 'Finish'

    :-And to set up a new project:-

  • Open Visual Studio Express for Windows Phone and choose New Project.

  • Select CordovaStarter. ( the version number will be displayed in the template description )

  • note: If you do not see it, you may have to select the top level 'Visual C#' to see it

  • Give your project a name, and select OK.

  • The 'www' folder contains your Cordova html/js/css and any other resources included in your app.

  • Hit the green play button beside the Windows Phone Emulator drop-down menu to start debugging or press F5.




回答2:


You can find it from (PhoneGap 2.8.1 Released 12 Jun 2013) on http://phonegap.com/install/ ;)



来源:https://stackoverflow.com/questions/13043620/cordovastarter-x-x-x-zip-not-found-with-phonegap-for-windows-mobile

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!