Nonsense
A while ago, I suddenly saw Microsoft release Cordova's cross-platform development Mobile. I came to the interest, intended to play a play, toss a bit. It took me 2 nights to finally successfully configure the environment. Time is mainly spent on downloading Google things above.
Unfamiliar little Friends Please read the following article to understand
Http://blogs.msdn.com/b/ericsk/archive/2014/05/19/visual-studio-2013-and-apache-cordova-integration.aspx
http://c.jinhusns.com/cms/c-929
Of course, it is all explained how to install it. At best, a simple hello world familiar to everyone. Haha, now I can only be to such a point, still need to spend time to learn more
For example: How to really develop a complete set of Android apps, the current simple get data can be implemented, you can use the API. But how to resolutely httppost submit data? Let's not go into it for the moment. Take the time to go later.
Read the above article probably also know what is the situation!
Then go to the simple original Hello world!
The tools and preparations needed
1, I now use VS2013, then update4 (probably spent 1.3 hours, very need speed)
2. Download the visual Studio Tools for Apache Cordova CTP3.1 to install (it also took me 1.5 hours, the speed is good faster)
Http://blogs.msdn.com/b/ericsk/archive/2014/05/19/visual-studio-2013-and-apache-cordova-integration.aspx
Here My computer can not install Cordova CTP3.1, but find a long time to find Cordova CTP3.0 successfully installed. If the little friends and I are the same, don't worry.
http://pan.baidu.com/s/1o6JtfZ0 Download and install
3. Then the Android SDK is installed
Have to say, here must turn over the wall, otherwise can't download AH. Need the tools of private me, send me an e-mail. This kind of thing is still not public better.
There are a number of issues with the installation of the 3rd SDK:
1th: Open the SDK Manager as an administrator, otherwise it will fail to download the Create local folder!
2nd: It's important to first see the list of APIs before you start to be happy too early, remember to choose a high point of the Android version. Because my computer is WINDOW8, it may have a little influence. My minimum Requirements 4.2.2 (API 19)
Download the need to configure the port (remember)
3rd:
Resuming Google APIs, Android API, Revision 3 download at 2281361 (1%)
Download finished with wrong size. Expected 134875617 bytes, got 226895 bytes.
Obviously the reason of the network, and later changed the tool. Try a few more times.
Hope the love toss of the small partners can be a success!
View Effects
But let's create a project look, it's really exciting, tossing a few nights.
The red ones below are the ones I added myself, and the others are project files.
After starting the program, see the following final effect in the browser interface.
Summarize
If there is a greater God in this area study more please give some study materials. Thanks, first!
It took so much time to finish the thing and eventually it worked out. No matter how the heart still a little happy. Then someone is going to ask, what's the use of all this useless? In fact, I do not know, I only know that I am interested in this, so I have to go to toss it. As long as it does not affect the work, it is nothing.
Thank you, Uncle Crow, who provided my tools.
Originally from: http://www.cnblogs.com/lxsweat/p/4411624.html
The VS2013 of the Cordova project creation and configuration