Not able to see cloud option in Developer Services of Android Studio 2.2

谁都会走 提交于 2019-11-30 05:29:50

The Cloud > Firebase checkbox has been removed in Android Studio 2.2, in favor of the new (and much more powerful) Firebase Assistant.

You can find the Firebase Assistant through Tools > Firebase, after which it will open up.

To connect your app to Firebase directly in Android Studio, proceed as follows:

1.Make sure you have downloaded the Google Repository version 26 or higher:

  • Click Tools > Android > SDK Manager
  • Click the SDK Tools tab.
  • Select Google Repository, then click OK.
  • Click Tools > Android > SDK Manager:

2.Open the Assistant window by clicking Tools > Firebase

3.Click to expand one of the listed features such as Analytics then click the Get Started tutorial to create a new Firebase project or connect to an existing one in a few clicks.

Narendra Choudhary

There is no need to enable cloud option after 2.2 Android version data will send to the database (Firebase) without enabling this option.
So don't need to worry about this option go ahead.

nagnath masali

To manually enable and attach Firebase to your project by following two simple steps :

  1. add internet permission in your project's manifest, like so :

    <uses-permission android:name="android.permission.INTERNET"></uses-permission>
    
  2. add and compile the following code in your project's gradle.file

    compile com.firebase:firebase-client-android:2.3.1

now you should be good to go ;

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!