Code Monkey home page Code Monkey logo

Comments (6)

lfelipeqn avatar lfelipeqn commented on July 25, 2024

I tried to replicate the steps you followed in order to achieve a successful build. But got this instead:

**A problem occurred evaluating root project 'android'.

Failed to apply plugin [class 'com.google.gms.googleservices.GoogleServicesPlugin']
For input string: "+"
classpath 'com.android.tools.build:gradle:+'** This line is being high lighted

from cordova-plugin-firebase-analytics.

chemerisuk avatar chemerisuk commented on July 25, 2024

https://github.com/chemerisuk/cordova-support-google-services#faq

from cordova-plugin-firebase-analytics.

lfelipeqn avatar lfelipeqn commented on July 25, 2024

Still unable to make it work altough we are using the following plugins

com.googlemaps.ios 2.3.0 "Google Maps SDK for iOS"
cordova-clipboard 1.0.0 "Clipboard"
cordova-plugin-browsertab 0.2.0 "cordova-plugin-browsertab"
cordova-plugin-camera 2.4.1 "Camera"
cordova-plugin-cocoapod-support 1.3.0 "Cordova CocoaPods Dependency Support"
cordova-plugin-compat 1.1.0 "Compat"
cordova-plugin-crosswalk-webview 2.3.0 "Crosswalk WebView Engine"
cordova-plugin-device 1.1.4 "Device"
cordova-plugin-file 4.3.3 "File"
cordova-plugin-file-transfer 1.6.3 "File Transfer"
cordova-plugin-filepath 1.0.2 "FilePath"
cordova-plugin-firebase-analytics 0.11.0 "FirebaseAnalyticsPlugin"
cordova-plugin-geolocation 2.4.3 "Geolocation"
cordova-plugin-googlemaps 2.0.0-beta3-20170903-1743 "cordova-plugin-googlemaps"
cordova-plugin-inappbrowser 1.7.1 "InAppBrowser"
cordova-plugin-network-information 1.3.3 "Network Information"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-statusbar 2.2.1 "StatusBar"
cordova-plugin-whitelist 1.3.1 "Whitelist"
cordova-sqlite-storage 2.0.3 "Cordova sqlite storage plugin"
cordova-support-google-services 1.0.0 "cordova-support-google-services"
ionic-plugin-keyboard 2.2.1 "Keyboard"
org.apache.cordova.plugin.cache 1.0.5 "Clear Cache"

from cordova-plugin-firebase-analytics.

harsinh avatar harsinh commented on July 25, 2024

HI

I tried the steps --

--$ cordova plugin add cordova-support-google-services --save
--applied necessary changes in build.gradle file
--build was successful
but the app again stopped .

from cordova-plugin-firebase-analytics.

harsinh avatar harsinh commented on July 25, 2024

@lfelipeqn please try
->cordova platform rm android
->cordova platform add [email protected]
->then make changes in build.gradle file again .

from cordova-plugin-firebase-analytics.

analytics-jiten avatar analytics-jiten commented on July 25, 2024

@chemerisuk

Hey Chemerisuk,

First of all great work done. Many Thanks in Advance.

As we are using cordova (5,3,3) and ionic framework (2.0.0), we are installing plug-in cordova-plugin-firebase-analytics as explained in the support document.

Post installing plug-in, we have done all the changes in build.gradle file and have added google-services.json file. When we are compiling the code and making the build, the build is running successfully but the moment app is launching, it is getting killed on boot.

We do have following queries as well:

  1. When we check the path/directory configuration in the js file then it is referring to the google-services.json file of "/myproject/platform/android/src/google-services.json" which is root folder of the app and one more blank google-services.json file is being created automatically by plug-in installed under plug-in folder which is "/plugins/cordova-plugin-firebase/android/src/google-services.json". Now we are confuse which google-services.json file is actually being referred by the app and which one to be updated. Please shred some light here.

Also, our Android SDK version is 23. Is there any dependencies or upgrade issues ?

from cordova-plugin-firebase-analytics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.