New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Play Game Service and AdMob ads #801
Comments
|
I got same problem too |
|
I think my problem is similar. It removes Assets/Plugins/Android/google-play-services_lib if I try to put it back. |
|
The same. Removing Assets/Plugins/Android/google-play-services_lib because the asset does not exist But it happened after error: |
|
Yeah, same error — |
|
OK - so the plugin is clearly "too smart" for its own good. Short answer - in Assets/GooglePlayGames/Editor/GPGSUpgrader.cs delete lines 81-82. This will stop the repeated deleting of google-play-services-lib. Then add back the directory, then delete the Assets/Plugins/Android/*.aar files - since these duplicate the classes in the entire google-play-services-lib. This change was made to the games plugin because the google-play-services-lib increases the apk size by 50% since it includes the entire Google SDK, including things like wear, auto, and other APIs that have nothing to do with games. You can try to do the same for the admob plugin by doing the following:
This should copy over the ads library. I have not tried it explicitly, but this should work since it is modeled after how to build an app using AdMob using Android Studio. Please let me know if you try it out! |
|
Thanks! It helped me. Project compiled successfully and the ads are showing normally. activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" |
|
No. It doesn't help... The second approach also did't help. |
|
same problem here. |
|
I did the same of tonghae and it worked! |
|
Also check #814 - which documents the success of using these two together. |
|
I would prefer do not touch GPGS package. Just don't import Also use This approach works for me at least for Unity 5.3.1 and Appodeal SDK 1.13.10. |
|
The admob plugin has been updated to 3.0.0 and now is compatible with the Play Game Services plugin. |
I use the 0.9.27 version of the plugin.
After the addition of plugin, it removes the directory Assets/Plugins/Android/google-play-services_lib which is necessary for the plugin AdMob. AdMob plugin is not working.
Actions:
https://s3-us-west-1.amazonaws.com/appodeal-crossplatform/appodeal-unity/1.13.7_0.5.4/Appodeal.unitypackage
The text was updated successfully, but these errors were encountered: