Ndk configuration compilation debugging ndk-build ndk-GDB eclipse windows cygwin

Source: Internet
Author: User

1. Install the ndk SDK under cygwin by referring to the documentation provided by the SDK ndk. For the subsequent steps, we recommend that you configure the respective root directory and the tools directory under the SDK to the path of win. Make sure that you can easily access ADB, ndk-build, and ndk-GDB in cygwin.

Change cygwin. bat to the following (set the path environment variable)

@ Echo off

Set PATH %
E:
Chdir E:/cygwin/bin

Bash -- login-I

2. for compilation and configuration, see the Introduction to integrating Android ndk with eclipse on the Internet.

3. debug ndk-GDB. Use eclipse's run --> external tool config... to configure.

Argument can call the method according to ndk-GDB. In the future, open the simulator and debug it with GDB on the eclipse console.

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.