这个bug在去年九月就已经反映在android论坛(http://code.google.com/p/android/issues/detail?id=37424 ),可现在(2013.5.31)还没有解决。晕啊,CDT的开发者不看android论坛吗。文章最后给出的临时解决方案,不嫌累的话就先用着。
 
Please describe the problem in detail, with the following information (if applicable)Host OS: OS XSDK tools version (available in the "About" section of the 'android' toolUI): 20.0.1Eclipse version: JunoADT plug-in version: 20.0.3Platform targeted by your project: ICSVersion of the platform running in the emulator: N/ASTEPS TO REPRODUCE:1. Install NDK Plugin in Eclipse2. Set NDK path (Preferences...->Android->NDK->NDK Location)3. Right-click project->Android Tools->Add Native Support...4. Install another version of the the NDK, using another path5. Update NDK path (Preferences...->Android->NDK->NDK Location)6. Project->Properties->C/C++ General->Paths and Symbols7. When "Show built-in values" is checked, the old NDK path is showed, not the new NDK pathEXPECTED RESULTS:这个包含路径应该随NDK移动而更新,至少也要可以用户设定么
The include paths should be updated when the NDK is moved.OBSERVED RESULTS:
改变NDK位置后无法改变内建的include路径。 (为啥要改变NDK路径呢?我的情况是,我要把工程复制到另一台pc上开发)Changing the NDK location does not change the built-in include pathsADDITIONAL INFORMATION: Attach sample project, etc. If possible, try to reproduce using ApiDemos. If the problem is happening in the emulator, consider attaching the outputof "adb bugreport"
Sep 14, 2012 Project Member#1vs...@google.com
(No comment was entered for this change.)
Owner:vs...@google.com
Sep 14, 2012 Project Member#2vs...@google.com
Since this is with 8.1.0 and 20.0.3 where the indexer didn't work anyway, please try with two changes:1. Use ADT 21 preview or CDT 8.0.2.2. After changing NDK, right click on the project and do a rebuild index.
Sep 17, 2012 Project Member#3vs...@google.com
This is actually a bug in the Android NDK plugin. You can use the following workaround until the bug is fixed:这实际上是android NDK插件的 bug,在bug解决之前你可以用以下方法解决。1. Close eclipse.2. Remove the file $workspace/.metadata/.plugins/com.android.ide.eclipse.ndk/<appName>.pathInfo3. Start eclipse4. If necessary, do a Index -> Rebuild.
       
其实你大可不必remove这个路径文件。你直接修改这个文件就好了,爽吧?
Sign into add a comment

更多相关文章

  1. Android 4.1源码编译找不到资源文件解决办法
  2. Android获取存储设备挂载路径
  3. Android 根文件系统分析
  4. Android中的AndroidManifest.xml文件
  5. android环境搭建及改变默认avd路径
  6. android中的资源,资源与xml文件

随机推荐

  1. Android(安卓)组件 ContentProvider 内容
  2. Android中focusable属性的妙用——底层按
  3. android 开发环境搭建
  4. adroid 现行布局水平居中位置
  5. TextView设置字间距和行间距
  6. Android(安卓)AIDL使用详解
  7. Android(安卓)运行崩溃找不到so包解决方
  8. 工程 android上传图片至服务器
  9. Android(安卓)颜色渲染(六) RadialGradie
  10. android BitMap回收