Eclipse: Google play services lib doesn't exist in Rev. 30+

时间:2016-07-11 19:19:57

标签: eclipse jar google-play-services

I know, that's using Eclipse for Android app development is a bad idea, but I've some issues why I can't use Android Studio

So after updating SDK to android N and google play services to rev.31 google play lib doesn't exist.

I've already googled that it goes on another folder as .ass files, but I don't know how to transfer it usual .jar

Any ideas instead of using Android Studio and continue with Eclipse in such a case?

1 个答案:

答案 0 :(得分:0)

因此,谷歌因为权重高而将谷歌播放服务分成较小的部分

您会在/ extras / google / m2repository / com / google / android / gms中找到它们(请记住服务是分开的)

  1. 查找您需要的库(例如广告)
  2. 将.aar重命名为.zip
  3. 解压缩文件
  4. 使用New将项目导入Eclipse - >项目 - >来自现有源代码的Android项目
  5. 转到项目的属性并设置构建目标和' Is Library'标志
  6. 进入您创建的项目属性和链接库
  7. 这里可以通过下载库来替换PS 0-4: https://github.com/dandar3/android-google-play-services-base