/ extras / google / google_play_services / libproject" after upgrading to version 30 I updated the version of Google Play Services f...">

Missing "<sdk> / extras / google / google_play_services / libproject" after upgrading to version 30

I updated the version of Google Play Services from version 29 to 30 using the Android SDK Manager, but after updating the directory "<sdk>/extras/google/google_play_services/libproject" disappeared, leaving only the directories "documents" and "samples".

I tried to uninstall and reinstall several times, but it always happens to skip the "libproject" directory.

Did every problem have an upgrade problem?

I am using Debian Linux 8.4 (jessie), although I do not think this has anything to do with the problem.

Android SDK Manager screen

google_play_services directory screen

+73
android google-play-services
May 18 '16 at 21:50
source share
5 answers

It looks like Google just broke Google Play Services in several libraries. You will find them in <sdk>/extras/google/m2repository/com/google/android/gms if you also updated Google Repository through the SDK manager.

Separate libraries are in aar format, so you have to extract the jar yourself if this happens after.

+60
May 18 '16 at 23:12
source share

I am working on an old project in Eclipse and I fixed the problem a little differently than others. For me, using a project from Google Play Services, version 29, there were all kinds of dependency problems that I could not solve. For example, he needs a v4 compatibility library, so I imported it, but even then he could not find the required resources.

However, I could not use Revision 28 without such problems and install the minimum version of my application as ICS. Below is a link to version 28. Download it, unzip it and unzip the libproject folder, where it usually was before the uninstall.

Import the project into Eclipse (make sure the files to copy are selected) in the usual way, and everything will be fine.

https://dl-ssl.google.com/android/repository/google_play_services_8298000_r28.zip

+44
May 20 '16 at 22:23
source share

Right now I’ve returned to version 29 (and worked well) using the version history available on this site: http://www.smorgasbork.com/2015/01/05/google-play-services-sdk-version-history

I believe it is possible that this is the new format that Google will provide libs (in .aar files) due to the update description:

enter image description here

Version number 29 says " client library and sample code," and version number 30 says: javadocs and sample code. "

+10
May 19 '16 at 19:34
source share

The m2repository folder contains the aar files used by android studio. If you look at the sample folder and open some sample project.properties files, you will see that the sample applications still reference google-play-services_lib. This will surely be fixed by google, I also saw people complaining about the problem with display ads, so maybe they will come with an update soon.

+4
May 19 '16 at
source share

I posted a question about this on the Google Mobile Ads SDK. To summarize the steps in the answer (from Veer Busani, Team Mobile Ads SDK):




We never recommend that you rename / edit any part of the Android SDK. If you find any problems, let us know about it and we will consider it. As for your integration of mobile ads / Unity / Android, I will definitely help you. Follow these steps if you are in Google Play Service 30.0 (v 9.0) -
  • Create a new project and import the Unity package of mobile ads.
  • Copy the demo script , create a new empty GameObject, and add the script as a component.
  • Right-click the Assets> PlayServicesResolver folder and select Google Play Services> Eliminate Client Banners .
  • Known issue with revising GMS 30 in Unity. To create for Android, you need to select Assets> Plugins> Android> file firebase-common-9.0.0.aar , and in Unity Inspector uncheck Android for Platform for plugins .
  • Finally, edit the Bundle Identifier in the player’s settings and deploy your awesome project on your Android device.



It worked.

+4
May 26 '16 at 16:46
source share



All Articles