正确的方法导入谷歌Android的样本项目到Android工作室 [英] Correct way to import a Google sample Android project to Android Studio

查看:191
本文介绍了正确的方法导入谷歌Android的样本项目到Android工作室的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在<一个示例项目玩href=\"http://developer.android.com/training/location/receive-location-updates.html\">http://developer.android.com/training/location/receive-location-updates.html, LocationUpdates.zip,Android Studio中。

I want to play with the sample project at http://developer.android.com/training/location/receive-location-updates.html, LocationUpdates.zip, in Android Studio.

我曾尝试使用文件>导入项目,但有错误的负载结束:

I have tried to use File > Import Project but end up with a load of errors:

有有关导入Eclipse项目到Android Studio,但以下这些并没有帮助了我很多问题。

There are many questions about importing an Eclipse project to Android Studio but following those didn't help me.

推荐答案

Android的工作室V1.0 +现可透过文件 - 示例项目的易进口>导入示例。

Android Studio v1.0+ now offers easy importing of the sample projects via File->Import Sample.

更新:由于V1.3(大约),选项现在可以在文件&GT找到;新建 - &GT;进口样品。 (感谢@johanvs)

Update: Since v1.3 (roughly), the option can now be found at File->New->Import sample. (Thanks to @johanvs)

这篇关于正确的方法导入谷歌Android的样本项目到Android工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆