Sunday, March 10, 2019

android studio 3.3.1 and google admob change

change/update google service library:
  • com.google.android.gms:play-services-ads:16.0.0 -> com.google.android.gms:play-services-ads:17.1.2
  • com.google.android.gms:play-services-auth:16.0.0 -> com.google.android.gms:play-services-auth:16.0.1
To import and use google admob (service-ads), you must add this into application manifest:
<manifest>
<application
...
>
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-################~##########"/>
...
</application>

No comments:

Post a Comment