UpendraSingh / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

Gradle plugin google-services is not compatible with gradle-experimental:0.6.0-alpha7 #875

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Issue summary:
When I combine the google-services gradle plugin with 
gradle-experimental:0.6.0-alpha7 and use the new gradle structure. The 
google-services.json is not converted to a global_tracker.xml and is not 
available anymore via R.id.global_tracker

Notes:
com.android.tools.build:gradle-experimental:0.6.0-alpha7
com.google.gms:google-services:2.0.0-alpha6

Original issue reported on code.google.com by r...@citrus.nl on 11 Feb 2016 at 2:14

GoogleCodeExporter commented 8 years ago

Original comment by t...@google.com on 7 Mar 2016 at 10:39

GoogleCodeExporter commented 8 years ago
Same issue here. Unable to use google analytics.

Is there a workaround ?

Original comment by nish...@yoachiever.com on 21 Mar 2016 at 9:33

GoogleCodeExporter commented 8 years ago
Does using a more recent version of gradle-experimental (0.7.0-alpha3 or 
0.6.0-beta7) convert the json to xml?

Alternatively, would it be possible to use the non-experimental version of 
gradle?  There are the following versions:

compile 'com.android.tools.build:gradle:2.1.0-alpha3'
compile 'com.android.tools.build:gradle:2.0.0-beta7'
compile 'com.android.tools.build:gradle:1.5.0'

Original comment by t...@google.com on 21 Mar 2016 at 7:52