How to install ndk (linux)?

I am trying to download the Android NDK and then unzip the files to a specific directory. How can I rename the NDK directory? Do I need to rename a directory?

How to check and rename a directory?

Also, can I use NDK in Eclipse? If so, how?

+3
source share
1 answer

On Linux, I have my directory named android-ndk under my home directory. I think it doesn't matter what the directory name is.

If it is not already set, you need to set the environment variable as follows:

export ANDROID_NDK_ROOT = / home / user / android-ndk

I pasted the following content from the Android NDK page :

" NDK , . NDK android-ndk-. NDK ."

dir, , :

 ls -al android-ndk*

, , 'mv'.

. android ndk: android-ndk-r4b-linux-x86, android-ndk, :

  mv  android-ndk-r4b-linux-x86  android-ndk
+5

Source: https://habr.com/ru/post/1786894/


All Articles