这个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 X SDK tools version (available in the "About" section of the 'android' tool UI): 20.0.1 Eclipse version: Juno ADT plug-in version: 20.0.3 Platform targeted by your project: ICS Version of the platform running in the emulator: N/A STEPS TO REPRODUCE: 1. Install NDK Plugin in Eclipse 2. 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 path 5. Update NDK path (Preferences...->Android->NDK->NDK Location) 6. Project->Properties->C/C++ General->Paths and Symbols 7. When "Show built-in values" is checked, the old NDK path is showed, not the new NDK path EXPECTED 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 paths
ADDITIONAL INFORMATION:
Attach sample project, etc.
If possible, try to reproduce using ApiDemos.
If the problem is happening in the emulator, consider attaching the output
of "adb bugreport"
Sep 14, 2012
Project Member #1 vs...@google.com
Owner: vs...@google.com
Sep 14, 2012
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
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>.pathInfo 3. Start eclipse 4. If necessary, do a Index -> Rebuild. 其实你大可不必remove这个路径文件。你直接修改这个文件就好了,爽吧? | |
► Sign in to add a comment |
eclipse android开发环境 bug CDT包含路径名无法修改(JNI开发使用)
最新推荐文章于 2024-09-23 10:23:26 发布