Skip to content

Xamarin C# AdMob null error  #2

@MegaTechnoLtd

Description

@MegaTechnoLtd

I try to connect with AdMob (Google Play Services Ads) Banner using Xamarin C# code, When I load:

adView.loadAd(adRequest);

Xamarin Show Error message ( System.NullReferenceException )

Please check the photo:
https://i.stack.imgur.com/bipES.png

The code and method here in:
https://github.com/hussien89aa/XamarinAndroidTutorial/blob/master/Admob.txt

I try to use different version of Emulators, SDKs and Google play services Ads versions (27.0 till 42.1002 Nougat) but still not work and show same error

My SDK library contain Google play Services and I use Visual Studio 2017

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions