设置 Android 时出现问题 - 需要重置 ADT!
我使用的是带有 JDK 1.6 的 Windows 7。我下载了Android SDK。为 Eclipse 添加并设置 ADT。在 Android 中编写了一个 Hello World 应用程序。 Eclipse 无法识别“Activity”和其他 Android 包。我将工具文件夹添加到路径中。仍然收到同样的问题。
在 Eclipse 中,我开始收到消息“SDK 丢失...运行 SDK 设置”。在阅读更多内容后,我发现我必须在安装 ADT 之前安装 SDK。现在我尝试安装 SDK,但它说“某些应用程序正在使用工具文件夹”。我也从路径中删除并关闭了所有应用程序、资源管理器等,但我收到了相同的消息。
我猜剩下的唯一地方就是Eclipse中ADT的设置。我说得对吗?如果是的话,怎么安装SDK然后设置ADT!或者任何人都可以指出哪里出了问题并帮助我在我的电脑上设置 Android。
任何帮助都非常感激。
谢谢
I am on Windows 7 with JDK 1.6. I downloaded Android SDK. Added and setup ADT for Eclipse. Wrote a Hello World app in Android. Eclipse is not able to identify "Activity" and other android packages. I added tools folder to path. Still am receiving the same problem.
In Eclipse I started getting message "SDK misssing... Run SDK set up". On reading more, I found that I had to install the SDK prior installing ADT. Now am trying to install SDK, but it says "tools folder is being used by some app". I removed from path also and closed all applications, explorer, etc yet I receive the same message.
I guess the only place left is the setting of ADT in Eclipse. Am I correct ? If so, what to do to install the SDK and then set ADT ! Or what's wrong can anyone point out and help me set Android on my PC.
Any help is highly appreciative.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你在eclipse中设置了SDK位置吗?要在 Eclipse 中设置 SDK 位置,请转至 Preferences,在 android 下设置 SDK Location 路径并单击 apply。
Did you set SDK location in eclipse? To set SDK location in Eclipse go to Preferences, under android set SDK Location path and click apply.