Could not find class com.google.ads.AdView

could not find class com.google.ads.AdView

Are you one of who catch that error when you are developing Android app ?

If i should answer myself. Yes i’m catch that error too.

In my case I just updated the Android SDK Tools to version 19.

So ? how to fix this problem ?

Quite easy, follow this step :

  1. Remove the external jar library (Admob jar in my case) from Java Build Path
  2. Create libs directory in the project directory
  3. Put the external jar in libs directory you just created

That’s all fix my problem. If it’s hard to understand, just drop a comment, or reach me directly.

Thanks.