Android 删除示例项目
我创建了 android sdk 附带的示例项目之一。当我使用完它后,我删除了该项目并选中“从磁盘删除内容”。现在,当我尝试创建一个新的 android 项目时,我无法再重新创建相同的示例项目。
有没有什么方法可以恢复示例项目而无需再次下载整个 sdk?
I created one of the sample projects that come with the android sdk. When I was done using it I deleted the project and checked "Delete contents from disk". Now when I try to create a new android project I can no longer recreate the same sample project.
Is there any way to get the sample project back without downloading the entire sdk again?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你在谈论这些吗? 您应该可以从此处再次下载它们
如果您仍然有问题, 麻烦,您可能会在此页面上找到一些帮助,
检查您的硬盘驱动器上的位置上页提到并确保应用程序/文件夹完全消失了。
来自上述站点:
“例如,如果您使用 ADT 插件在 Eclipse 中进行开发,则可以通过启动一个新的 Android 项目,选择“从现有源创建项目”,为“API 演示”示例应用程序创建一个项目,然后然后浏览到
/samples/android-/ApiDemos
目录”Are you talking about these? You should be able to download them again from HERE
If you are still having trouble you may find some help on this page
Check the location on your harddrive that is mentioned on the above page and make sure the app/folder is completely gone.
From the above site:
"For example, if you are developing in Eclipse with the ADT Plugin, you can create a project for the "API Demos" sample app by starting a new Android Project, selecting "Create project from existing source", and then browsing to the
<sdk>/samples/android-<level>/ApiDemos
directory"您不必再次下载完整的 sdk。每个 Android 级别的示例都位于各自的包中。请参阅http://developer.android.com/resources/samples/get.html 了解详情。
You do not have to downloas the complete sdk again. The samples are in their own package for each Android level. See http://developer.android.com/resources/samples/get.html for details.