File/New/New Project...
Next->Next->Basic Activity->Next->Next
Expect to see ‘includes’ node
NOTE: On Windows the slashes in paths displayed should be back slashes.
cpp
and choose New C/C++ Header File
my-header-file.h
Expect to see ‘my-header-file.h’ node under cpp
NOTE: On Windows the slashes in paths displayed should be back slashes.
File/New/Import Sample...
NDK
and choose Endless Tunnelapp/cpp/game/includes/NDK Components
Expect to see several sub-nodes under ‘NDK Components’ node
NOTE 1: On Windows the slashes in paths displayed should be back slashes.
NOTE 2: The exact content of the sub-nodes depends on the version of the NDK installed.
git clone https://github.com/jomof/cdep-android-studio-freetype-sample.git
cd cdep-android-studio-freetype-sample
./cdep
, on Windows cdep
File/Open..
choose /path/to/projects/cdep-android-studio-freetype-sample/build.gradle
app/cpp/includes/CDep Packages
Expect to see two sub-nodes under ‘CDep Packages’ node: freetype and SDL
![New Project Enhanced Includes][res/cxx/enhanced-header-files/cdep-free-type-example.png]
File/New/New Project...
Native C++
from the wizard.build.gradle
file and add android.externalNativeBuild.cmake.version "3.10.2"
.Sync now
.Install CMake 3.10.2
. Click on the link.Finish
.Verify the same behavior using version “3.10.2-rc2” and “3.10.2+”.
build.gradle
file and add android.externalNativeBuild.cmake.version "3.6.0"
.Sync now
.Verify the same behavior using version “3.6.0-rc2” and “3.6.0+”.
build.gradle
file and add android.externalNativeBuild.cmake.version "3.12.0"
.Gradle files have changed since last project sync...
.Sync now
.CMake '3.12' was not found in PATH or by cmake.dir property. - CMake ... (these lines are not important)