Okay, lasty question on this, I hope.
When I try moving the sample code into my main game project, I get the following errors:
Generating R file. Error
c:\users\andy.mcadam\appdata\local\android\sdk\extras\google\google_play_services\libproject\google-play-services_lib\res\values\base_attrs.xml:11: error: Attribute "buttonSize" already defined with incompatible format.
C:\Users\andy.mcadam\Dropbox\basic4android projects\invaders 2017\Objects\bin\extra\res1\res\values\values.xml:47: Original attribute defined here.
c:\users\andy.mcadam\appdata\local\android\sdk\extras\google\google_play_services\libproject\google-play-services_lib\res\values\base_attrs.xml:16: error: Attribute "colorScheme" already defined with incompatible format.
C:\Users\andy.mcadam\Dropbox\basic4android projects\invaders 2017\Objects\bin\extra\res1\res\values\values.xml:55: Original attribute defined here.
c:\users\andy.mcadam\appdata\local\android\sdk\extras\google\google_play_services\libproject\google-play-services_lib\res\values\common_attrs.xml:13: error: Attribute "imageAspectRatioAdjust" already defined with incompatible format.
C:\Users\andy.mcadam\Dropbox\basic4android projects\invaders 2017\Objects\bin\extra\res1\res\values\values.xml:34: Original attribute defined here.
I am already using admob and have the following lines at the top of my source code:
#AdditionalRes: C:\Users\andy.mcadam\AppData\Local\Android\sdk\extras\google\google_play_services\libproject\google-play-services_lib\res
#AdditionalJar: com.google.android.gms

lay-services-games
My manifest file looks like this:
'AdMob
AddApplicationText(
<meta-data android:name="com.google.android.gms.version"
android:value="8487000"/>
<activity android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
)
AddApplicationText(
<meta-data android:name="com.google.android.gms.games.APP_ID"
android:value="@string/app_id" />
<meta-data android:name="com.google.android.gms.version"
android:value="
@Integer/google_play_services_version" />)
'End of AdMob
'AdMob
AddApplicationText(
<activity android:name="com.google.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
)