简体   繁体   English

我如何在Android Studio中创建Android示例项目

[英]How i can create Android Sample Project in Android Studio

Is there any easy way to create(import) Android Sample Project (in eclipse terminology) in Android Studio? 有没有简单的方法在Android Studio中创建(导入)Android示例项目(在eclipse术语中)? I mean something like eclipse New Project->Android Sample Project dialog 我的意思是像eclipse New Project->Android Sample Project对话框

Have you installed the samples for the SDK from your Android SDK Manager? 您是否从Android SDK Manager安装了SDK的示例? Instructions for doing so can be found here . 这样做的说明可以在这里找到

After those are installed, you can use the menu File->Import Project... 安装完成后,您可以使用菜单File->Import Project...

安装SDK示例

On Android Studio 1.0.2 在Android Studio 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... 您需要转到File -> Import Project...

Some of them still have Eclipse project structure, but AS will take care of that. 其中一些仍然具有Eclipse项目结构,但AS将负责这一点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 Android Studio 中为手机和平板电脑创建项目? - How can I create a project for phones and tablets in Android Studio? 如何将示例项目导入android studio - How to import sample project to android studio 如何将示例应用程序导入Android Studio Project - How to import sample app to Android Studio Project 如何在Android Studio中访问多个活动的示例代码? - How can I access the sample code for several Activities in Android Studio? 如何在Android Studio中导入Facebook登录示例? - How can I import a Facebook Login Sample in Android Studio? Android:如何在Android Studio中打开旧的Android项目? - Android: How can I open an older android project in Android Studio? 我怎样才能移动 android studio 项目? - how can I move android studio project? 如何通过项目资源管理器在Android Studio中创建新的Android活动? - How can I create new Android Activities in Android Studio from the project explorer? 如何在Android Studio中使用Android滑动面板制作示例演示项目 - How to make a sample demo project with Android Sliding panel in Android Studio 无法在Android Studio中运行示例Project Tango应用 - Can't run the sample Project Tango app in Android Studio
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM