[英]Import project in android studio 1.0
When I import Google play service to android studio that's open a new window whereas I don't want it and when select "this window" in opening time, it close my project. 当我将Google Play服务导入到android studio时,这会打开一个新窗口,而我却不想打开它,并且在打开时选择“此窗口”时,它会关闭我的项目。 I want import multiple project in same window like eclipse.(I watched this video clipconver.cc link ) 我想在eclipse之类的同一窗口中导入多个项目。(我看了这个video clipconver.cc链接 )
How I can use Google play service in my project in android studio 1.0? 如何在Android Studio 1.0的项目中使用Google Play服务?
If you want add dependence, I recommend using Gradle
. 如果要添加依赖项,建议使用Gradle
。 You can use gradle
in android studio. 您可以在Android Studio中使用gradle
。
find out build.gradle
in your project then add google play service at dependencies like this. 在您的项目中找到build.gradle
,然后在像这样的依赖项中添加Google Play服务。
compile 'com.google.android.gms:play-services:+'
//Example
dependencies {
compile 'com.android.support:support-v4:+'
compile 'com.google.android.gms:play-services:+'
compile 'com.android.support:appcompat-v7:+'}
Or You can add other project in your project similar as Eclipse. 或者,您可以在项目中添加与Eclipse类似的其他项目。
File -> Import Module
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.