Error "class com.mopub.mobileads.mopubview not found" when trying to display banner


I followed the guide to add a banner in an android activity (many times, I am almost sure I followed any step), but I can’t run the app cause I get this error:

Caused by: java.lang.ClassNotFoundException: Didn’t find class “com.mopub.mobileads.mopubview”

I really don’t know how to solve it.

Some idea?

Thank you.


Nobody can help me? I can’t publish my app.

The exact error is “error inflating class com.mopub.mobileads.mobupview”


Hey BigandFish,

Are you using proguard?

If so, you have to set a proguard exception. I imagine this might be the issue.



No, I don’t use proguard…:frowning:

I really don’t know how to solve, I followed many times the guide to add a banner to the app.