这个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中EditText 设置 imeOptions 无效问题的解决方法
  3. Android自动化测试之环境搭建(二)
  4. Android获取存储设备挂载路径
  5. Android自己主动化測试解决方式
  6. android uiautomator自己主动化測试
  7. android media库中external的读取
  8. Android(安卓)studio :Please configure Android(安卓)SDK
  9. android 处理运行时改变 开发文档翻译

随机推荐

  1. Android Studio下使用JAVA+Appium进行自
  2. Android webkit keyevent 事件传递过程
  3. Android异步更新UI的四种方式
  4. PreferenceActivity的使用
  5. 麦子学院android老师分享android实现list
  6. Android MQTT消息推送实践
  7. Android自动测试之monkeyrunner工具
  8. Android开发教程--设置ImageView图片的显
  9. android画图--切割区域
  10. android imageview设置图片的小问题