How do i open a sample Android SDK app in Eclipse (如何在 Eclipse 中打开示例 Android SDK 应用程序)
问题描述
我在 Eclipse 中为 Android 2.1 创建了一个基本程序.然后我想看一些示例,并导入 SDK 目录中的示例项目.我尝试打开一个新项目并从现有源创建项目",我浏览并可以选择一个项目,所有详细信息都出现了,我可以单击完成,但我收到一条错误消息,提示无法写入文件",并且如果我点击详细信息,它会显示访问被拒绝"我尝试将项目文件夹复制到我自己的工作区,但它仍然做同样的事情.
I have created a basic program in Eclipse for Android 2.1. then I wanted to look at some of the samples, and import sample projects which are in the SDK directory. I have tried opening a new project and 'create project from existing source', I browse and can select a project, all the details come up and I can click finish, but I receive an error message saying 'could not write file', and if I click on details, it says "access is denied" I have tried copying a project folder into my own workspace but it still does the same thing.
推荐答案
在包资源管理器窗口中右击.
Right click in the package explorer window.
选择新建 -> 其他
在Android文件夹下选择Android Sample Project
Under the Android folder select Android Sample Project
选择构建目标,然后选择示例项目
Choose the build target and then the sample project
这篇关于如何在 Eclipse 中打开示例 Android SDK 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何在 Eclipse 中打开示例 Android SDK 应用程序
基础教程推荐
- RabbitMQ:消息保持“未确认"; 2022-01-01
- 存储 20 位数字的数据类型 2022-01-01
- 问题http://apache.org/xml/features/xinclude测试日志4j 2 2022-01-01
- Struts2 URL 无法访问 2022-01-01
- 如何对 Java Hashmap 中的值求和 2022-01-01
- 无法复制:“比较方法违反了它的一般约定!" 2022-01-01
- 修改 void 函数的输入参数,然后读取 2022-01-01
- Spring AOP错误无法懒惰地为此建议构建thisJoinPoin 2022-09-13
- 使用堆栈算法进行括号/括号匹配 2022-01-01
- REST Web 服务返回 415 - 不支持的媒体类型 2022-01-01
