Open taigeair opened 7 years ago
In Android Studio:
Click Tools > Android > SDK Manager Click into the SDK Tools tab Select and install Google Play Services (rev 30) and Google Repository (rev 26). Sync and Build your project.
http://stackoverflow.com/questions/37310188/failed-to-resolve-com-google-firebasefirebase-core9-0-0
Hi,
I still can't build.
* What went wrong:
A problem occurred configuring root project 'android'.
> Cannot add task ':processDebugGoogleServices' as a task with that name already exists.
I set up a blank ionic-2 project and just followed the steps in your readme. I just wasn't sure where to add the lines the firebase-docs require: https://firebase.google.com/docs/android/setup (below "Add the SDK")
I tried to add both things to the /platforms/android/build.gradle
. Is this the correct place?
Thanks, janein
PS: I installed every package in the Android SDK I can imagine to help solving this problem ;)
Ok it looks like there are no changes in the build.gradle
required to get this going :)
Works fine on my device, I just get an error FCMPlugin is not defined
when serving to the browser. I guess I need to change sowmething to work properly on RC0.
Do you know how I can import the FCMPlugin properly?
I get this error when I try to build android. Do you have any ideas why this is the case?
FAILURE: Build failed with an exception.
What went wrong: A problem occurred configuring root project 'android'.
Required by:
Searched in the following locations: https://repo1.maven.org/maven2/com/google/firebase/firebase-messaging/9.2.0/firebase-messaging-9.2.0.pom https://repo1.maven.org/maven2/com/google/firebase/firebase-messaging/9.2.0/firebase-messaging-9.2.0.jar
Required by:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 5.427 secs