Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
4
Question by ErayT · May 22, 2016 at 02:35 PM · androidgoogle playandroid-sdk

Missing libraries in Google Play Services Revision 30

Guys,

I have installed Google Play services via SDK Manager.

The libraries related with it is supposed to be found in the location "/extras/google/google_play_services/libproject/google-play-services_lib/". However, there is no folder "/extras/google/google_play_services/libproject". There are only :

  • docs

  • samples

Where are those libraries?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Athalos · May 23, 2016 at 12:39 AM 0
Share

Facing the same issue - have yet to find a solution to this aside from someone mentioning that Google moved the lib to: Android\android-sdk\extras\google\m2repository\com\google\android\gms\
but there are many sub folders in there that are not structured nicely to implement previous workarounds for Ad$$anonymous$$ob - please update this if you figure it out, thanks!

5 Replies

· Add your reply
  • Sort: 
avatar image
5

Answer by Athalos · May 27, 2016 at 07:44 PM

Hey guys,

After some digging, I did get Admob working. A guy over on stackoverflow was kind enough to link to the google_play_services_r28 folder - Download here

I copied this into the unity project under plugins>android as mentioned above. Had to do the usual Manifest hack, but after all that, ads were up and running!

Comment
Add comment · Show 5 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image PhilipBelov · May 27, 2016 at 08:20 PM 0
Share

$$anonymous$$y game is building successfully thanks to your solution, but for some reason ads are not served. Banner or interstitial both don't work.

avatar image PhilipBelov · May 27, 2016 at 08:25 PM 0
Share

Ok, a small update. I've tried to build my game for Android for the 2nd time and have received the same re-packaging error as before.

avatar image Athalos · May 27, 2016 at 08:38 PM 0
Share

Not sure if you know or not @PhillipBelov ... but ads will not display in the editor - but you will get a debug log statement simulating them.

In terms of the the repackaging error - make sure you edit the manifest in the unity project folder - you have to remove all references to style - you can comment out the xml or just delete it all together, it should build then. I had to delete the manifests from the temp staging area too but that was more cause of trial and error I think...

avatar image PhilipBelov Athalos · May 27, 2016 at 08:54 PM 0
Share

Yeah, I know. But I've been running a game on the device itself. Yes, of course, I've edited it. It's just so strange and stupid: the project was built for the first time and failed to be built for all the next ones.

I tried to remove files from the staging area, but, unfortunately, it didn't help.

avatar image EarlyBird19 · Jun 10, 2016 at 01:49 AM 0
Share

Thank you for this, my game now builds. I was having the same issue, and was banging my head against the wall trying to find google-play-services_lib/res/values.

avatar image
1

Answer by 007belon · Jul 08, 2016 at 11:33 AM

Hello, My problem is solved with this way just copied play-services from "...android-sdk\extras\google\m2repository\com\google\android\gms" to the plugins>android on unity and the ads works finely. my problem is when i have the ads my game have some bugs :/

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by deerslug · May 23, 2016 at 07:37 PM

Hi @ErayT,

What exactly are you trying to do? Ie: using the leaderboards?

I just got play services working today by copying the \play-services folder over to Plugins>Android

Android\sdk\extras\google\m2repository\com\google\android\gms\play-services

Comment
Add comment · Show 13 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ErayT · May 24, 2016 at 09:52 AM 1
Share

I was trying to add Google Ads. I will check your way later but I am not sure it will be soon.

avatar image deerslug ErayT · May 24, 2016 at 10:47 AM 0
Share

I was just using leaderboards, but let me know how that goes. Just curious what's the difference between unity adds and google adds?

avatar image ErayT deerslug · May 25, 2016 at 09:26 AM 0
Share

They are different ads services, different companies. Their advertisement pools are distinctive.

avatar image PhilipBelov · May 27, 2016 at 01:24 AM 0
Share

I have such problem with Ad$$anonymous$$ob SD$$anonymous$$. Copying play-services folder doesn't help.

avatar image deerslug PhilipBelov · May 27, 2016 at 01:37 AM 0
Share

You could try adding the "play-services-ads" folder and see if that changes anything, what error are you getting?

avatar image PhilipBelov deerslug · May 27, 2016 at 01:39 AM 0
Share

Yeah, actually that was my next step. But it didn't work either. I got the same errors.

Show more comments
Show more comments
avatar image
0

Answer by jure006 · May 26, 2016 at 10:14 AM

That't what i want to know! What's wrong with Google Play Services, revision 30... Why library is missing and why i getting this error on build: "failed to re-package resources" :((

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by SongAngel · Jul 06, 2016 at 03:40 PM

The lib project is still missing in revision 31 and Googles sorry documentation still shows it to be there but it is not. I'm using an older version myself until/unless they get it together. It's amazing to me that anyone is able to build anything for android at all with the state of things.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

85 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Receiving an Error: AndroidManifest.xml:16: error: No resource found that matches the given name (at 'theme' with value '@style/Theme.IAPTheme'). 0 Answers

"using UnityEngine.SocialPlatforms;" stay gray while trying to use it. 0 Answers

How can I remove Google Play Services ?,How to remove Google Play Services ? 1 Answer

Unity in-app purchasing service occurs crash on Android 0 Answers

UnityIAP Android restroing problems,UnityIAP doesn't call ProcessPurchase when session closed (App reload) 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges