Hi when i try to android build an app with AdmobInterstitial cnlib 
integrated together with the Location API 
referenced in code then the build fails with the following reasons. I 
concluded this from a trial and error process 

and when i removed any reference from the Location API the android build 
was successful. Is there any advice? 


 Compiling with JDK Java compiler API.
/tmp/build2708158476482284487xxx/POIFinder/src/main/java/com/codename1/admob/AdMobNativeImpl.java:3:
 
error: package com.google.android.gms.ads does not exist
import com.google.android.gms.ads.*;
^
/tmp/build2708158476482284487xxx/POIFinder/src/main/java/com/codename1/admob/AdMobNativeImpl.java:13:
 
error: cannot find symbol
    private InterstitialAd interstitial;
            ^
  symbol:   class InterstitialAd
  location: class AdMobNativeImpl
/tmp/build2708158476482284487xxx/POIFinder/src/main/java/com/codename1/admob/AdMobNativeImpl.java:66:
 
error: cannot find symbol
        interstitial = new InterstitialAd(activity);
                           ^
  symbol:   class InterstitialAd
  location: class AdMobNativeImpl
/tmp/build2708158476482284487xxx/POIFinder/src/main/java/com/codename1/admob/AdMobNativeImpl.java:68:
 
error: cannot find symbol
        interstitial.setAdListener(new AdListener() {
                                       ^
  symbol:   class AdListener
  location: class AdMobNativeImpl
/tmp/build2708158476482284487xxx/POIFinder/src/main/java/com/codename1/admob/AdMobNativeImpl.java:106:
 
error: cannot find symbol
            final AdRequest adRequest = new AdRequest.Builder().build();
                  ^
  symbol:   class AdRequest
  location: class AdMobNativeImpl
/tmp/build2708158476482284487xxx/POIFinder/src/main/java/com/codename1/admob/AdMobNativeImpl.java:106:
 
error: package AdRequest does not exist
            final AdRequest adRequest = new AdRequest.Builder().build();
                                                     ^

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/70cf40d8-a327-43dc-ba2f-cb4c17983455o%40googlegroups.com.

Reply via email to