-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Analytics robopods 1.14 broken when using GGLContext #107
Comments
certainly seems like something is missing. can still use GA without the configuration file |
Facing the same issue, cannot get google-mobile-adds-ios to work anymore. It fails at run time to "org.robovm.objc.ObjCClassNotFoundException: GGLContext" when "GGLContextMobileAds.getSharedInstance().configure();" is called. Also fails to missing classes when trying to configure adds with separate add instances instead of "GoogleService-Info.plist" configuration file. It seems that natives are missing for some reason? Is there a way to use them without GGLContext until this is solved? |
I have the same issue (with version 1.14)
Apparently this is also raised on RoboVM group since March 3rd : https://groups.google.com/forum/#!topic/robovm/V_ity6VXJIo |
Found a workaround to get classes found. Added libAdIdAccess.a, libGGLCore.a and libGoogleAnalyticsServices.a to ios/libs. |
Sounds good. I cannot find those files. Where can I find them? |
This gives a hint: http://stackoverflow.com/questions/31165164/libadidaccess-a-location |
Ok,
I simply passed the adMob ID manually as such:
|
Hi,
We try to upgrade our existing app (working fine in 1.13) to 1.14.
It fails with the following exception:
Execute: GGLContext.getSharedInstance().configure()
java.lang.ExceptionInInitializerError
at org.robovm.samples.robopods.google.analytics.ios.GoogleAnalyticsApp.didFinishLaunching(GoogleAnalyticsApp.java:40)
at org.robovm.samples.robopods.google.analytics.ios.GoogleAnalyticsApp.$cb$application$didFinishLaunchingWithOptions$(GoogleAnalyticsApp.java)
at org.robovm.apple.uikit.UIApplication.main(Native Method)
at org.robovm.apple.uikit.UIApplication.main(UIApplication.java:413)
at org.robovm.samples.robopods.google.analytics.ios.GoogleAnalyticsApp.main(GoogleAnalyticsApp.java:59)
Caused by: org.robovm.objc.ObjCClassNotFoundException: GGLContext
at org.robovm.objc.ObjCClass.getByType(ObjCClass.java:251)
at org.robovm.pods.google.GGLContext.(GGLContext.java:43)
The installation guide (here: https://github.com/robovm/robovm-robopods/tree/master/google-analytics/ios ) mentions this code block:
Adding that block, crashes the robovm sample for Google Analytics.
It is demonstrated in this commit:
https://github.com/squins/robovm-samples/commit/045953d523c9f5c78beafc82dfd0dd29460fde45
Maybe native classes for https://github.com/robovm/robovm-robopods/tree/master/google-apis are missing?
The text was updated successfully, but these errors were encountered: