[Reprint] Debug HelloWorld application on the iTOP-4412 Development Board

Source: Internet
Author: User

This article goes from Schindler to Forum:http://www.topeetboard.com

1. Install ADB driver

To debug Android apps on the Development Board , first install the ADB driver.

Installed through theSDK Manager.exe. As shown in. It is also important to note that if you want to use the

The SDK Manager installs the software and needs to shut down Eclipse.

After the installation is complete, open thecommand line cmd.exeof "Usb_fastboot_tool\platform-tools" in the folder,

As shown, enter the command "#adb" and return. The adb command is integrated here and does not require the user to set environment variables.

2. Test ADB driver

Start the iTOP-4412 Board, and then use OTG to connect to the computer's USB interface first. On the command line, enter

Command "#adb shell". As shown, the ADB is already connected successfully.

It is important to note that theADB full name is "android Debug Bridge", which is a process of Android debugging

Order. Whether you are using the drive provided by Schindler or the program "SDK Manager.exe" in the section aboveto install the drive

is essentially a usb, but this USB Interface is relatively small, we call it the OTG interface. OTG interface,

This is a name on the hardware.

Because it needs to enter commands on the command line, sometimes it is called the Windows command line when it comes to using this interface . Because the command line under Windows is extended from a dos system, it can also be called a dos command line. We are

The ADB used here only increased the "adb.exe" This executable program, with this program, we can enter

ADB command, so sometimes also called it adb command.

3. Debug the HelloWorld application via the OTG interface

Open the iTOP-4412 Development Board and use the OTG cable to connect the computer.

Open Eclipseand open the hellworld project.

On the left side of the interface, right-click the hellworld Project, point to properties, pop up as shown in the "properties for

Hellworld"window.

For example, select "run/debug Settings" and "Hellowrold" and click "Edit...". pops up as the

Display window, click "Target".

As shown, select the red arrow to refer to "Android4.0.3" and select "alwaysprompt to pick "

Device".

Click OK to Save the exit.

Select the helloworld Project and choose the menu "run->run" to eject the "Android Device " as shown Chooserthe device selection box.

As shown, select the physical device, which is the iTOP-4412 Development Board, and click the button "OK" after selecting. Wait a minute .

For a while, theHelloWorld application is running on the Development Board.

[Reprint] Debug HelloWorld application on the iTOP-4412 Development Board

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.