I have created a skeleton Android Studio project and am going through the following link to set it up for C++ compiling:
http://www.shaneenishry.com/blog/2014/08/17/ndk-with-android-studio/
The first step is to define ndk.dir
in file local.properties
.
However, the self-generated local.properties
file has the following comments at the top:
## This file is automatically generated by Android Studio.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
Is there a different file to define ndk.dir
? Regards.
I've got answer here:
Just define ANDROID_NDK_HOME
environment variable. It is also very useful for TeamCity job.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With