Skip to content Skip to sidebar Skip to footer

Include Adview With Databinding

I am trying to use include layout for the adView with data binding. But, it throws me an error: java.lang.IllegalStateException: The ad size and ad unit ID must be set before load

Solution 1:

You should use app:adSize="BANNER" instead of SMART_BANNER


Post a Comment for "Include Adview With Databinding"