bash - can't write .bashrc to add path of android NDK -



bash - can't write .bashrc to add path of android NDK -

i have downloaded ndk eclips juno....now have add together ndk path , have add together lines .bashrc.

i have add together next lines .bashrc

export android_ndk=/_path_to/android-ndk-linux/ export android_sdk=/_path_to/android-sdk-linux/ export path=$path:$android_sdk/tools:$android_sdk/platform-tools:$android_ndk

in terminal wrote....

~/.bashrc

but says bash:

/home/user/.bashrc: permission denied

how can alter permission write .bashrc?????

when type on command line:

~/.bashrc

you requesting shell execute file. if want edit file, try:

nano ~/.bashrc

replace nano name of favorite editor.

if want re-create , paste 3 lines file, don't need editor. run following:

cat >>~/.bashrc

then, re-create , paste 3 lines. press come in , type control-d , done.

android bash android-ndk

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -