使用Gradle将Google服务添加到Cordova Android应用

时间:2015-10-22 15:15:59

标签: android cordova google-analytics

我正在尝试将Google Analytics集成到我的Cordova Android应用中。我使用了https://developers.google.com/analytics/devguides/collection/android/v4/的指南,但是当我想添加

apply plugin:'com.google.gms.google-services'

进入build.gradle会抛出错误:

A problem occurred evaluating root project 'android'.
Failed to apply plugin [id 'com.google.gms.google-services']
Plugin with id 'com.google.gms.google-services' not found.

0 个答案:

没有答案