Ive add google Analytics dependency into gradle file, add GoogleService-Info.plist into my resources folder and then in robovm.xml added this folder. Finally int IOSLauncher I write this code
@Override
public boolean didFinishLaunching(UIApplication application, UIApplicationLaunchOptions launchOptions) {
try {
GGLContext.getSharedInstance().configure();
GAI gai = GAI.getSharedInstance();
gai.enableCrashReporting();
System.out.println("Correct setting up launcher");
} catch (NSErrorException e) {
System.err.println("Error configuring the Google context: " + e.getError());
System.out.println("Error configuring the Google context: " + e.getError());
}
return super.didFinishLaunching(application, launchOptions);
}
Unfortunately I ve got this error:
Error configuring the Google context: Error Domain=com.google.greenhouse Code=-200 "Unable to configure GGL." UserInfo={NSLocalizedRecoverySuggestion=Check formatting and location of GoogleService-Info.plist., NSLocalizedDescription=Unable to configure GGL., NSLocalizedFailureReason=Unable to parse supplied GoogleService-Info.plist. See log for details.}
Ive add google Analytics dependency into gradle file, add GoogleService-Info.plist into my resources folder and then in robovm.xml added this folder. Finally int IOSLauncher I write this code
Unfortunately I ve got this error: