1. Go to the Google developer console and click on create a project.
2. Enter the project name and click on Create
3. Now, we will add the Google+ API into our new project. Go to the overview page and click on Google+ API present under Social APIs. Then, click on the Enable button.
4. The following warning will be shown when you click on the Enable button. Click on Go to credentials to create credentials for your project.
5. Choose the options as per below screenshot. Select Android if you are going to access this API from an Android App.
Click on “What credentials do I need?”
6. Now, create an OAuth 2.0 client ID, enter the name of your client ID. Follow the below steps for generating the Signing-certificate fingerprint for your project.
i) Open command prompt in windows and execute the following command:
keytool -exportcert -list -v -alias androiddebugkey -keystore %USERPROFILE%\.android\debug.keystore
Note: JDK must be installed for executing this command. You can execute this command from any path/directory.
ii) Default password is: android. After entering the password, you’ll see an output like below:
7. Now, copy the SHA1 fingerprint(shown highlighted above) and paste it in credentials page like below. Enter the package name of your android app. Then, click on Create.
8. Finally, you’ll see the credentials are created for your project.