How to Use DeviceOne for JavaScript development (2) generate the debugging installation package _ javascript skills

Source: Internet
Author: User
This article mainly introduces how to use DeviceOne for JavaScript development (2) generate the debugging installation package, for more information about how to use DeviceOne for JavaScript development, see the previous article. (1) configuration and start-up, learn together.

Generate the debugging installation package

It must be noted that this step is not required for every App debugging. In most cases, a debugging installation package is generated, which can be ignored after being installed on the mobile phone. The debugging installation package contains many native components, which can be customized and checked. If you need to add some native components, You need to select more components and regenerate the debugging installation package.

Click the "Build Debug Version" button in the menu of the debugging program. If you have not logged on, a prompt will be displayed for logon.

If you open multiple projects, you need to select a specific project you want to package, and you need to connect to the Internet when packaging.


It only takes a few minutes, "package ..." After clicking download and install, you can select QR code or download the file to your computer and install it on your mobile phone using tools.


Debugging and development

After installing the installation package generated in the previous step on a mobile device (mobile phone or pad), the basic interface is as follows: the basic interfaces for Android, IOS, and Winphone are the same. To debug the Service, right-click "Service" in the designer and click "Create". Then, click "Start" to Start the Service and record the displayed IP address and port number, enter the ip address of the "service address" of the debugging version on the mobile phone. Make sure that the ip address of the mobile phone and the ip address of the designer are in the same network segment. Otherwise, the communication will fail. Click "Update ".

After the update is successful, click the "enter" button to see the real effect of the App developed on the designer on the mobile phone. We can see that the effect is exactly the same as that on the designer, you can see the green label and click the "Say Hello" button. "Hello DeviceOne!" will pop up !!! ". In this way, we can continue to modify the code on the designer, modify the UI, and then click the "Update" button and "enter" button again to see the development effect in real time. Until this App completes all the features you need to achieve.

Currently, single-step debugging is not supported. Currently, alert, toast debugging, and deviceone. print debugging are supported. Print debugging can display the printed data in the "debug log" of the designer in real time, but make sure that the "display log" of the debugging terminal is checked.


Publish an application

After the application is developed, You can package the application into a formal installation package with your own icons, names, signatures, etc. You can upload the application to the official Appstore, it can be downloaded and used by end users. Click the "Build Single Version" button in the designer and download the installation package on the download page.


To Be Continue .......

Related Article

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.