Because the summer to do something, to participate in the competition, although do not know what other members are doing, I still silently to the environment to match a bit ~ but I want to say this is absolutely insane, to match things dare not more!!!
1, to engage in mobile phone applications, Android environment to be good chant, basically can be put good, nothing is Eclipse, JDK, SDK, CDT, ADT, is ADT this guy a little annoyed, who called the official website of Android and can't open the bird it ~
2, ndk+cygdrive Environment configuration:
NDK words, go to Baidu, then swing A, R8 almost, as if R9, but I fear no great God guidance, I will not match;
Cygdrive words, to http://www.cygwin.com/ to make A, duly, but online download installation, is the time to witness the speed of the bird ~ The seniors have said to install for several hours, But fortunately in the next side of the network is good, the link is also good, barely in one hours, the net speed slag residue of the children's paper to prepare for the psychological wow ~
After these two are ready, there is one more step to configure the NDK
A, first find Cygwin installation directory, find a home\< your user name >\.bash_profile file, mine is: E:\cygwin\home\Administrator\.bash_ Profile
b, open the Bash_profile file (recommended to open with sublime Text2, this software is good, dark time to see the code quite comfortable) and then add ndk= "/cygdrive/< your drive letter >/<android the NDK" behind the file Catalogue > "For example:
ndk= "/cygdrive/d/android-ndk-r8"
Export NDK
C, finally in path also add a path, the big God said to use the writing of Linux, otherwise cygdrive this child paper will error
For example, my Android-ndk-r8 folder is placed in D:\android\android-ndk-r8
Then, path inside will add a sentence cygdrive/d/android/android-ndk-r8;
(There is a great God only use AB two steps to take care of, there is a great God with C step to take care of, there is a big God modified the Cygdrive installation directory, etc inside the profile file, after path with the NDK path. But I was just a dick, tried the long time, finally the ABC together finally fix, big guy can try)
3. OPENCV for Android development environment configuration
Get that OpenCV for Android installation package down from http://opencv.org/ and unzip it, In the APK folder, select an. apk to copy into the Platform-tools in the SDK directory, and then use CMD to find the file directory, adb install XXX.APK, you can install the necessary OpenCV manager into the virtual machine, Must be installed! Finally, the OpenCV SDK is introduced into the working directory, basically OK ~
in fact, under the special lazy, which is borrowed from http://blog.csdn.net/pwh0996/article/details/8957764 This article, and then the author of this article in the article gave a lot of links, As long as careful, don't put the name of what is wrong, basically smooth words or a long time, but the next do not match very well, and finally in the second day to do well, the exact first day busy to see "Gujanki Tan", while looking at the side, half-hearted, the effect is not good, the next day after watching TV again, wholeheartedly, Immediate effect AH ~ (PS: Absolutely no implant ads under the meaning of ^_^)