不存在Google Play服务libproject文件夹 [英] Doesn't exist Google Play services libproject folder

查看:156
本文介绍了不存在Google Play服务libproject文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用Google Map Api创建一个android项目。所以我通过SDK Manager下载了Google Play服务。但不存在Google Play服务libproject文件夹。任何帮助将不胜感激。





<在/ extras / google / m2repository / com / google /中,你会发现它们(注意服务是分开的)/ b> android / gms


  1. 找到您需要的库(例如广告)

  2. 重命名.aar to <.zip

  3. 解压缩文件

  4. 使用New - > Project - > Android Project从现有源代码将项目导入到Eclipse中
  5. >
  6. 转到项目的属性并设置Build Target和'Is Library'标志

  7. 进入您创建的项目属性和链接库

PS 0-4可以通过下载libs替换:
https://github.com/dandar3/android-google-play-services-base


I want to create an android project with Google Map Api. So I downloaded Google Play services via SDK Manager.But doesn't exist Google Play services "libproject" folder. Any help will be appreciated.

Folders path and folders:

解决方案

You'll find them(take in mind that services are separated) in /extras/google/m2repository/com/google/android/gms

  1. Find library, which you need (ads for example)
  2. Rename .aar to .zip
  3. Unzip the file
  4. Import the project into Eclipse by using New -> Project -> Android Project from Existing Source Code
  5. Go to the Project's properties and set the Build Target and 'Is Library' flag
  6. Go into your project properties and link library, which you created

PS 0-4 can be replaced by downloading libs here: https://github.com/dandar3/android-google-play-services-base

这篇关于不存在Google Play服务libproject文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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