Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I use Firebase cloud message in an eclipse project?

I have a project in eclipse. I need include firebase library. If I was using Android Studio the steps would simply be:

enter image description here

And its all, all library include.

But I cant understand how include firebase cloud message to eclipse. I cant find how include it to eclipse.

like image 868
b1065579 Avatar asked Jun 13 '16 14:06

b1065579


1 Answers

The new Firebase (9xx) libraries can be found in the Google Repository. You can install this with the Eclipse Android SDK Manager. Open the SDK manager and scroll down until you find Google Repository and install the package.

The package will be installed in /extras/google/m2repository and you will find the Firebase files further down at /com/google/android/firebase.

You can rename the .aar files to .zip and extract the jar file, rename these from classes.jar and copy them to the project libs folder displayed in Eclipse (or copy outside Eclipse and then follow the instructions to import a project into Eclipse.)

like image 63
usajnf Avatar answered Sep 22 '22 01:09

usajnf