本机开发选项卡不显示 [英] Native Development tab doesn't show up

查看:123
本文介绍了本机开发选项卡不显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道发生了什么事情。我一直在下面的一些教程,并已正确设置我的NDK项目。我上周做了浪费时间的事情了一点,但我的项目似乎仍正常工作。我试图找到NDK路径,但该选项卡不再有...

I have no idea what's going on. I have been following some tutorials, and have properly set up my project with the NDK. I did mess around with things a bit last week, but my project still seems to work correctly. I am trying to find the NDK path but the tab is no longer there...

在本机开发选项卡应该是一个红色的酒吧。我知道它在那里的某个时候的最后一周。难道我删除了日食的东西,会删除此标签?

The Native Development tab should be where the red bar is. I know it was there sometime last week. Is it possible I deleted something from eclipse that would remove this tab?

推荐答案

问题解决了。到了我解压我NDK文件夹中的地址未添加到我的电脑的PATH变量。奇怪,因为我清楚地记得这样做,在一个点上,但是在此之前地址添加到PATH变量的选择只是没有在Eclipse中出现。

Problem solved. The address to where I unzipped my NDK folder wasn't added to my computer's PATH variable. Strange, as I distinctly remember doing that at one point, but until that address is added to the PATH variable the option just doesn't show up in Eclipse.

如果任何人知道反正PATH变量是不是通过用户做其他改变,请让我知道。我不记得编辑PATH变量,而且不知道为什么我会。

If anyone knows of anyway that the PATH variable is changed other than through the users doing, please let me know. I don't remember editing the PATH variable and have no idea why I would have.

有关Windows 7专业版:

For Windows 7 Professional :

开始 - > 右键单击计算机 - > 属性 - > 高级系统设置 - > 环境变量

Start->Right Click On Computer->Properties->Advanced System Settings->Environment Variables

我已经有在系统变量 PATH一个路径变量下的变量用户变量...

在这两个变量,我添加的地址到我的NDK文件夹。从已经与分号内现有一个单独的新地址。

In both variables, I added the address to my NDK folder. Separate the new address from the one already existing inside with a semi-colon.

这让我摸不着头脑的教程是<一个href=\"http://permadi.com/blog/2011/09/setting-up-android-jni-projects-in-windows-eclipse-and-sequoyah/\"相对=nofollow>在这里步骤#5

The tutorial that helped me figure this out is here at step #5

这篇关于本机开发选项卡不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆