热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

如何在AndroidStudio中创建Android示例项目?-HowicancreateAndroidSampleProjectinAndroidStudio

Isthereanyeasywaytocreate(import)AndroidSampleProject(ineclipseterminology)inAndroidS

Is there any easy way to create(import) Android Sample Project (in eclipse terminology) in Android Studio? I mean something like eclipse New Project->Android Sample Project dialog

在Android Studio中,是否有任何简单的方法可以创建(导入)Android示例项目(在eclipse术语中)?我的意思是像eclipse新项目->Android示例项目对话框。

2 个解决方案

#1


3  

On Android Studio 1.0.2

在Android上工作室1.0.2

File -> Import Sample...

文件- >导入示例……

Then, if you are looking for Support Samples, these live under

然后,如果你正在寻找支持样本,这些活在下面。

/sdk/extras/android/support/samples/

You'll need to go to File -> Import Project...

你需要去文件->导入项目…

Some of them still have Eclipse project structure, but AS will take care of that.

其中一些仍然有Eclipse项目结构,但是将会解决这个问题。

#2


7  

Have you installed the samples for the SDK from your Android SDK Manager? Instructions for doing so can be found here.

您是否已经从Android SDK管理器中安装了SDK的样本?这样做的说明可以在这里找到。

After those are installed, you can use the menu File->Import Project...

安装好后,您可以使用菜单文件->导入项目…

installing SDK samples


推荐阅读
author-avatar
逃跑的骨拉拉gf_761
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有