IntelliJ IDEA build a PhoneGap for Android Development Environment

Source: Internet
Author: User

IntelliJ IDEA build a PhoneGap for Android Development Environment

We all know that the PhoneGap cross-platform mobile framework supports IOS, Android, Windows 8, and so on /...... And other mainstream mobile operating systems!

Now let's build the HelloWorld program for Android development using PhoneGap!

IntelliJ IDEA details: click here
IntelliJ IDEA: click here

IDE: IntelliJ IDEA

1. Create an Android Project

Because IntelliJ IDEA has Android development plug-ins, you can directly create a New Android project ......

File-New project-Create project from scratch-Next

-------------------------------------- Split line --------------------------------------

IntelliJ IDEA 12 create a Java Web project managed by Maven (illustration)

IntelliJ IDEA 12 create a Web project graphic tutorial

Graphic tutorial for Android program development using IntelliJ IDEA

IntelliJ IDEA 12 haXe NME application Configuration Guide

IntelliJ IDEA test mode for running the Play Framework

Install IntelliJ IDEA 12 on Ubuntu 13.04

-------------------------------------- Split line --------------------------------------

If there is no Android template, you don't have to worry about it, but you haven't installed and used the Android plug-in. Just load the Android plug-in.

On the displayed page, select Next until it appears. If you select Android and Finish, the system returns to the previous layer to create a project for the new Android template.

(PS: Generally, all are selected by default, and all are loaded at startup. Of course, you know the start time/memory .)

When creating a new project, you need to add JDK. I don't know why. You just need to select the JDK installation path. Here, the version I used is jdk 1.6.0 _ 25.

Next, you will encounter an error. How can we develop without the Android SDK? Not afraid, see the figure:

The SDK configuration page is displayed.

Select your AndroidSDK directory in the following interface.

Then select the java sdk version androidSDK version to use (all versions in the AndroidSDK directory you select will be read for your choice)

Then Finish and OK. IDE will automatically create and load ......

Don't be afraid of this interface. It just prompts you whether to display tips at startup time. You can close the interface directly or remove the hook next time ......

The android project is successfully built. However, don't be so happy now. Although the Android project has been successfully created, you don't have an Android simulator yet. Let's create a simulator with me!

Select Edit Configurations ...... Expand the Android application and select your HelloWorld

Note that Name refers to the Name of the simulator to be created, but select the version of the simulator you created for Target. Remember, the Name must be greater than or equal to the Android version used when you created the project, select 2.3.1 and the project version here.

Click Create AVD simulator to Create the simulator. Then, go back to the select drop-down box and select the simulator you created. Then, you can start the simulator at this time ......

For more details, please continue to read the highlights on the next page:

  • 1
  • 2
  • Next Page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.