Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229111

Issues with app since imorting Admob

$
0
0

EDIT: Never mind, figured it out. Well not figured it out. I had two versions of admob, the free and the pro. I removed the pro and stopped getting that error.

Hello,

Since adding the admob plugin into my app I have been having lots of issues. At first I was on cordova 8.0.0 with android 7. It said I was missing three folders which were in an old place so I copied them over to the location that admob was looking for. After that I ran into this error:

/Users/***/myapp/platforms/android/src/name/ratson/cordova/admob/AdMob.java:53: error: cannot access zze
isGpsAvailable = (GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(cordova.getActivity()) == ConnectionResult.SUCCESS);
^
class file for com.google.android.gms.common.zze not found

I found a few people online saying downgrade your android version so I did and got the same error above. I then downgraded my cordova to 7.1.0 which uses an older android. I didn’t complain about the missing folders for admob, just went straight to the same error above:

/Users/***/myapp/platforms/android/src/name/ratson/cordova/admob/AdMob.java:53: error: cannot access zze
isGpsAvailable = (GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(cordova.getActivity()) == ConnectionResult.SUCCESS);
^
class file for com.google.android.gms.common.zze not found

I haven’t been able to find any one talking about com.google.android.gms.common.zze in particular so I am not sure where to go from here. Any help would be great! Thanks!


Viewing all articles
Browse latest Browse all 229111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>