在android eclipse项目中使用新的firebase sdk

编程入门 行业动态 更新时间:2024-10-18 08:28:33
本文介绍了在android eclipse项目中使用新的firebase sdk的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

刚刚宣布的具有强大功能的新Firebase刚刚宣布,但根据文档( https:// firebase.google/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 (firebase.google/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项目: github/dandar3/android-google-firebase-README

README Project: github/dandar3/android-google-firebase-README

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

更多推荐

在android eclipse项目中使用新的firebase sdk

本文发布于:2023-11-17 08:41:30,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1609493.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:项目   eclipse   android   firebase   sdk

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!