Attempt to invoke virtual method 'java.lang.String' on a null object referenc


anything new on this subject?

Please read the reply above your post.

I already did what it asks and it’s still giving the same error.

@Vishwas could you please check it ?

How can you show ad if ad load failed? and then if ad failed to show then also show ad.
Remove show ad from both blocks.