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


#1

Hi,
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.


#2

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

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


#3

Hey BigandFish,

Are you using proguard?

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

Edward


#4

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.