Environment:
Mac OSX 10.10.5
Ti SDK 3.5.1.GA
Targetting Android SDK 21
Hello,
I've been using this module for a while and it works wonderfully. However a new module that I've implemented required a newer version of the Google Play Services library. Since I then had two conflicting versions, I manually copied the newer google-play-services.jar into the lib folder for analytics.google. The project compiled but during run time I get the following errors:
'''
[INFO] : dalvikvm: Could not find method com.google.android.gms.analytics.GoogleAnalytics.getInstance, referenced from method analytics.google.AnalyticsGoogleModule.
[INFO] : dalvikvm: Could not find method com.google.android.gms.analytics.GoogleAnalytics.newTracker, referenced from method analytics.google.AnalyticsGoogleModule.getTracker
[INFO] : dalvikvm: Could not find method com.google.android.gms.analytics.GoogleAnalytics.setLocalDispatchPeriod, referenced from method analytics.google.AnalyticsGoogleModule.setDispatchInterval
[INFO] : dalvikvm: Could not find method com.google.android.gms.analytics.GoogleAnalytics.setDryRun, referenced from method analytics.google.AnalyticsGoogleModule.setDryRun
[INFO] : dalvikvm: Could not find method com.google.android.gms.analytics.GoogleAnalytics.setAppOptOut, referenced from method analytics.google.AnalyticsGoogleModule.setOptOut
.
.
.
[ERROR] : TiExceptionHandler: (main) [233,549] ----- Titanium Javascript Runtime Error -----
[ERROR] : TiExceptionHandler: (main) [1,550] - In app.js:1,69
[ERROR] : TiExceptionHandler: (main) [0,550] - Message: Uncaught Error: com.google.android.gms.analytics.GoogleAnalytics
[ERROR] : TiExceptionHandler: (main) [0,550] - Source: alytics.google"),Alloy.Globals.libs.gaTracker=Alloy.Globals.libs.GA.getTracker
[ERROR] : V8Exception: Exception occurred at app.js:1: Uncaught Error: com.google.android.gms.analytics.GoogleAnalytics
'''
I should add that the version of google play services I'm using had caused me to exceed android's 65k method limit, so I did have to trim it down. I made sure to leave com.google.android.gms.analytics intact and removed the following:
drive
fitness
games
location
measurement
panorama
plus
wallet
Is there something I should've done to update this module's G-P-S library rather than just manually copy-pasting it?
Environment: Mac OSX 10.10.5 Ti SDK 3.5.1.GA Targetting Android SDK 21
Hello, I've been using this module for a while and it works wonderfully. However a new module that I've implemented required a newer version of the Google Play Services library. Since I then had two conflicting versions, I manually copied the newer google-play-services.jar into the lib folder for analytics.google. The project compiled but during run time I get the following errors: ''' [INFO] : dalvikvm: Could not find method com.google.android.gms.analytics.GoogleAnalytics.getInstance, referenced from method analytics.google.AnalyticsGoogleModule.
[INFO] : dalvikvm: Could not find method com.google.android.gms.analytics.GoogleAnalytics.newTracker, referenced from method analytics.google.AnalyticsGoogleModule.getTracker
[INFO] : dalvikvm: Could not find method com.google.android.gms.analytics.GoogleAnalytics.setLocalDispatchPeriod, referenced from method analytics.google.AnalyticsGoogleModule.setDispatchInterval
[INFO] : dalvikvm: Could not find method com.google.android.gms.analytics.GoogleAnalytics.setDryRun, referenced from method analytics.google.AnalyticsGoogleModule.setDryRun
[INFO] : dalvikvm: Could not find method com.google.android.gms.analytics.GoogleAnalytics.setAppOptOut, referenced from method analytics.google.AnalyticsGoogleModule.setOptOut
.
.
.
[ERROR] : TiExceptionHandler: (main) [233,549] ----- Titanium Javascript Runtime Error -----
[ERROR] : TiExceptionHandler: (main) [1,550] - In app.js:1,69
[ERROR] : TiExceptionHandler: (main) [0,550] - Message: Uncaught Error: com.google.android.gms.analytics.GoogleAnalytics
[ERROR] : TiExceptionHandler: (main) [0,550] - Source: alytics.google"),Alloy.Globals.libs.gaTracker=Alloy.Globals.libs.GA.getTracker
[ERROR] : V8Exception: Exception occurred at app.js:1: Uncaught Error: com.google.android.gms.analytics.GoogleAnalytics
'''
I should add that the version of google play services I'm using had caused me to exceed android's 65k method limit, so I did have to trim it down. I made sure to leave com.google.android.gms.analytics intact and removed the following: drive fitness games location measurement panorama plus wallet
Is there something I should've done to update this module's G-P-S library rather than just manually copy-pasting it?