The configuration of the Android environment is still relatively complex, especially for me to always use the MFC programmer, there are many ideas need to change. Fortunately, after the successful configuration can be reused, then this problem is worth sorting out
First, installation JDK
Second, Unzip adt-bundle-windows (GO) . Where the SDK is well-configured
Third, Configuring environment Variables
this time Eclipse It's not going to start.
Configuration JDK the environment Variables
Java_home C:\Program Files (x86) \java\jdk1.8.0_112
CLASSPATH.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;
PATH%java_home%\bin;%java_home%\jre\bin;
I configured the Eclipse is a version that can be started directly
Can already run virtual machines
Api it's all.
Four, Configuration NDK
Edit Existing " NDK Build "
Fill in correctly
Import
Can be compiled correctly on the emulator
Five, Configuration opencv4android
Import Project
Project Property Selection
All success
Six, Real Machine Use debugging
Link successful
But first install Oepcnv Manager
After the foundation environment is built successfully, it is for the next step to build a development platform, my development platform named Goandroidtemplate, has been built successfully, in the actual project inspection, will be shared in the near future. Thanks for reading, I hope it helps.
Installation and configuration of the Goandroid