如何在 Eclipse 项目中使用 Firebase 云消息? [英] How can I use Firebase cloud message in an eclipse project?

查看:23
本文介绍了如何在 Eclipse 项目中使用 Firebase 云消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Eclipse 中有一个项目.我需要包含

它的全部,所有库都包括在内.

但我不明白如何将 firebase 云消息包含到 eclipse 中.我找不到如何将它包含在 Eclipse 中.

解决方案

可以在 Google 存储库中找到新的 Firebase (9xx) 库.您可以使用 Eclipse Android SDK Manager 安装它.打开 SDK 管理器并向下滚动,直到找到 Google Repository 并安装包.

该软件包将安装在/extras/google/m2repository 中,您可以在/com/google/android/firebase 的下方找到 Firebase 文件.

您可以将 .aar 文件重命名为 .zip 并提取 jar 文件,从 classes.jar 重命名这些文件并将它们复制到 Eclipse 中显示的项目 libs 文件夹(或复制到 Eclipse 外部,然后按照说明导入项目进入 Eclipse.)

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

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.

解决方案

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.)

这篇关于如何在 Eclipse 项目中使用 Firebase 云消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆