Vs+va Development NDK

Source: Internet
Author: User

工欲善其事, its prerequisite.

Android NDK Development environment, you can choose vim+ plug-ins, ECLIPSE+CDT, etc., here are another option: Vs+va

Software Preparation:
Visual Studio 2008//Other versions are also OK, here is the example of VS2008.
Visual Assist X
Android NDK

Environment variables:
Add the NDK root directory to the%path% environment variable.

Open VS2008, New Makefile Project


In the Project Wizard, complete the following:


Build command line:Ndk-build ndk_project_path=. App_build_script=./android.mk
Clean Commands:Ndk-build clean ndk_project_path=. App_build_script=./android.mk
Rebuild command line:Ndk-build-b ndk_project_path=. App_build_script=./android.mk
Include Search Path:E:\Android\android-ndk-r9d\platforms\android-12\arch-arm\usr\include//corresponds to the directory and version of your local machine.
Click Done.


These settings can be modified in the project properties, and Debug and release can be set separately.

Write the code and test it.


Try compiling, cleaning, and recompiling with no problems.


Take care of it, and start writing the code happily.


[Announcement] If you think someone is language provocative, please click the "Report" button in the top right corner of each post! +5 Kx
Total 2 Members
Thanks to Zxjay's article:
Perrysom (2015-02-26), inter-wind kernel (2015-03-02)
The night waves are monstrous
Junior Members
Information: Registration Date: 2012 Posts: 11 Elite: 0 Cash: One-off, KX acknowledgements: 0 Thanks article number: 0
Number of members appreciated: 0
2 2015-02-27, 15:54:27  
How did LZ compile after the result?


[Training] "Macquarie Philippine" core development training, see Snow members to apply for a waiver of 200 yuan!
The night waves are monstrous
Junior Members
Information: Registration Date: 2012 Posts: 11 Elite: 0 Cash: One-off, KX acknowledgements: 0 Thanks article number: 0
Number of members appreciated: 0
3 2015-02-27, 15:59:56  
I ask LZ, after compiling how nothing?


[Training] "Macquarie Philippine" core development training, see Snow members to apply for a waiver of 200 yuan!
Zxjay

Junior Members
Information: Registration date: Dec 2009 Posts: 4 Elite: 0 Cash: 2 kx acknowledgements: 0 Thanks article number: 1
Number of members appreciated: 2
4 2015-02-27, 17:27:36  
quoted: originally by the Night Wave monstrous released ask LZ, after compiling how nothing? ... After compiling, the generated files are in the Libs\armeabi directory.


[admissions] Branch sharp reverse training, 2015 after the Lantern Festival classes! See snow members 200 Yuan remission!
Chenwitch
Junior Members
Information: Registration date: May 2007 Posts: 71 Elite: 0 Cash: The number of KX acknowledgements: 1 Thanks article number: 0
Number of members appreciated: 0
5 2015-02-28, 09:39:00  
There's a thing called Vistualgdb that's very cool.

Vs+va Development NDK

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.