java.lang.NoClassDefFoundError
hgani opened this issue · 4 comments
Hi,
I got this exception when using calling ti.dfp's createView() on Android
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/ads/doubleclick/PublisherAdView
I assume this is because we are meant to include the native DFP SDK's jar ourselves? If so, which directory should put the jar? I can't find anything in ti.dfp doc/readme.
Thanks
The jar is included in the plugin (in the lib directory).
Maybe something in your build process is including an older jar file and excluding the one used by the ti.dfp module?
@jpriebe Thanks for the quick response.
I could only see google-play-services.jar in lib/ directory. Is this the jar that contains the DFP SDK?
Yes. All DFP mobile app functionality is part of google play services.