Issue
Im trying to use my pre-existing NDK
with Android Studio
, it offers an option of downloading a new NDK and auto setup , but i want to use the version i was using before i downloaded Android Studio
, how to tell it the location of the NDK
i already have ? Do i have to set the NDK_HOME environment variable ?
Android Studio
's documentation tells that when downloading the NDK
from the options menu in Android Studio
it will be under the SDK
's home in a folder called "ndk-bundle" , do i have to put it there ? (soure https://developer.android.com/studio/projects/add-native-code.html)
Solution
On my Android Studio (2.2) you can go to File | Project Structure.
You will get the Project Structure dialog. Select SDK Location
. You can set the location of your NDK in this dialog as well.
Answered By - kris larson
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.