eclipse adt开发android ndk没有NDK选项问题的解决方案
今天是2015年1月28号,整理一下昨天使用eclipse adt搭建的android ndk开发平台,遇到的eclipse里面没有NDK选项的问题。
自从Google推出android studio 1.0版以后,官方就不再提供bundle的版本下载,只能先下载eclipse,然后在eclipse上安装adt,只要是全选,这个时候是不存在没有NDK选项这个问题的。但是很多以前下载的bundle版本的,是没有NDK这个选项的,这个时候就需要我们手动去安装,步骤如下:
1. Help-->Install New Software... --> Work with 输入 https://dl-ssl.google.com/android/eclipse/。
2.在打开的窗口出现的列表中会出现Developer tools,将其全选。
3.点击Next。若有提示就点击OK,一路下去。最后提示你重启Eclipse(ADT)。
重启后发现 Window->References->Android 里面有NDK设置选项了。
其实写这篇博客的意义不是很大,因为adt bundle版本官方已经不提供下载了,而且eclipse也逐渐被Google放弃而推荐使用android studio但还是写这篇博客,给以前遗留的adt bundle版本提供一些帮助。
_________________________________________________________________________________________________________________________________________________
每一个不曾起舞的日子,都是对生命的辜负。
But it is the same with man as with the tree. The more he seeks to rise into the height and light, the more vigorously do his roots struggle earthward, downward, into the dark, the deep - into evil.
其实人跟树是一样的,越是向往高处的阳光,它的根就越要伸向黑暗的地底。----尼采
每一个不曾起舞的日子,都是对生命的辜负。
But it is the same with man as with the tree. The more he seeks to rise into the height and light, the more vigorously do his roots struggle earthward, downward, into the dark, the deep - into evil.
其实人跟树是一样的,越是向往高处的阳光,它的根就越要伸向黑暗的地底。----尼采