在android eclipse项目中使用新的firebase sdk [英] Use new firebase sdk in android eclipse project

查看:1506
本文介绍了在android eclipse项目中使用新的firebase sdk的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

刚刚宣布的具有强大功能的新Firebase刚刚宣布,但根据文档( https:// firebase.google.com/docs/android/setup#prerequisites )现在需要安装android studio(以及gradle)。现在在我的cocos2d-x应用程序中,我必须使用ADT / Eclipse来构建应用程序,因为gradle不支持(但是cocos2d-x团队正在处理它)。我现在使用的是旧版本的sdk,它只是一个jar文件。有没有办法在eclipse中使用新的firebase?最让我担心的是该插件:

new firebase with awesome features was just announced, but according to documentation (https://firebase.google.com/docs/android/setup#prerequisites) android studio (as well as gradle) is required now. For now in my cocos2d-x apps I have to use ADT/Eclipse to build apps, because gradle isn't supported yet (however cocos2d-x team is working on it). I'm now using an older version of the sdk, which is just a jar file. Is there a way to use new firebase in eclipse? What worries me the most is that plugin:

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


推荐答案

看看这个github仓库,我用它作为例子使用Eclipse的firebase(但最后我把我的项目转移到Android Studio与Gradle的原因是非常糟糕的)。无论如何,它适用于我,希望它能为您服务!

Take a look to this github repository, I was using it as example to use firebase with Eclipse(but finally I moved my proyect to Android Studio with Gradle cause was really awful). Anyway, it worked for me, hope that it will work for you!

README项目:
https://github.com/dandar3/android-google-firebase-README

README Project: https://github.com/dandar3/android-google-firebase-README

实际项目:
https://github.com/dandar3/ android-google-firebase-common

这篇关于在android eclipse项目中使用新的firebase sdk的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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