Android Hybrid application development environment building based on Eclipse+cordova

Source: Internet
Author: User

Environment description

Operating system: Windows 7 64-bit

Eclipse version: 4.5.2 release (ECLIPSE-JEE-MARS-2)

JDK Version: 1.8

Build steps

1. Download the version of Eclipse IDE for Java EE developers from http://www.eclipse.org/downloads/.

2. Download the JDK from http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html.

3. Install the JDK, unzip Eclipse, and run eclipse.

4. Select Help on the Eclipse menu bar and Eclipse Marketplace.

Search for JBoss Developer Studio and click Install for installation. (Note: The installation process will prompt

, click OK to continue the installation)

5. After the installation is complete, you will be prompted to restart Eclipse, click Yes to restart to see the JBoss Central page, click on the Software/update tab below the page,

In the Mobile development group, check out the JBoss Hybrid Mobile Tools +cordovasim and click Install/update to install.

(Note: The installation process will prompt

, click OK to continue the installation)

6. After the installation is complete restart Eclipse, click on the Eclipse menu bar, file = New and other, and select Create Hybird Mobile in the mobile group.

After you have filled out the project name and ID in the newly opened interface,

Next to the interface to select the Android version of the package, click the Download button, in the new open Interface tick the android environment you want to pack the version, and then click OK to let it download the relevant files selected.

After downloading, you can tick the version you want to create the project.

Click Next to come to the interface is to add plug-in interface, where the role of plug-ins is mainly to be able to invoke the native Android API, which according to the specific needs to add.

7. After the project is created, right-click on the project and select Run as = + 4 run W/cordovasim to preview the application.

8, the subsequent need to export the development of the project in the APK installation package, you need to first configure the Android SDK directory in Eclipse, and the SDK has downloaded the current packaging project needs the SDK version. When configured, you can export them.

If you do not have any response to the export, you will need to install Eclipse's Thym (the HYbrid Mobile).

Click Help on the Eclipse menu bar, Install New software,

Enter http://download.eclipse.org/thym/releases/latest/, press ENTER, select all to install.

Reference: http://www.eclipse.org/thym/

Install the download process a bit long, to be installed after the normal export apk.

RELATED LINKS

http://www.jboss.org/ticket-monster/hybridui/

Http://wiki.eclipse.org/THyM

Android Hybrid application development environment building based on Eclipse+cordova

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.