Downloaded android-ndk32-r10b-windows-x86_64 NDK can not be placed in a directory with spaces such as: D:\Program Files, otherwise it will be an error
Eclipse generates the. h header file:
Go to src directory (is src directory, not project directory) run Javah Com.example.hellojni.HelloJni (package name + class name) generated com_example_hellojni_hellojni.h header file located in src directory
Build header File Configuration
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/83/F4/wKioL1eBwJHRVqBjAAERb3Eza0s216.png "title=" Eclipse Configuration Build header file Javah.png "alt=" Wkiol1ebwjhrvqbjaaerb3eza0s216.png "/>
Generate so file configuration
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/83/F4/wKioL1eBwK2ih4ByAADgxfRShJM325.png "title=" Eclipse NDK generates so file configuration. PNG "alt=" Wkiol1ebwk2ih4byaadgxfrshjm325.png "/>
This article is from the "bit accumulation" blog, please be sure to keep this source http://tianxingzhe.blog.51cto.com/3390077/1813923
NDK Development configuration in Eclipse