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 应用程序


- 如何使用WebFilter实现授权头检查 2022-01-01
- 从 finally 块返回时 Java 的奇怪行为 2022-01-01
- C++ 和 Java 进程之间的共享内存 2022-01-01
- 将log4j 1.2配置转换为log4j 2配置 2022-01-01
- value & 是什么意思?0xff 在 Java 中做什么? 2022-01-01
- Safepoint+stats 日志,输出 JDK12 中没有 vmop 操作 2022-01-01
- Jersey REST 客户端:发布多部分数据 2022-01-01
- Spring Boot连接到使用仲裁器运行的MongoDB副本集 2022-01-01
- Eclipse 插件更新错误日志在哪里? 2022-01-01
- Java包名称中单词分隔符的约定是什么? 2022-01-01