刚刚宣布的具有强大功能的新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
发布评论