Is there another way to implement the Google Drive API instead of using the keytool to get the keystore sha1 and insert it into the Play Console credentials page? I'll use the APK outside the Play Store.
Based from the documentation, the overall process of making a Drive-enabled Android application is as follows:
- Install the Android SDK.
- Download and configure the Google Play services SDK, which includes the Google Drive Android API.
- Register your application. To do this, you need to register a project in the Google API Console and get a signing certificate for your app.
- Add the required settings to your application's manifest.
- Add Drive services to your application. The easiest way to begin is by creating a file.
There's no another way to implement Google Drive Android API other than the above steps. From step 3, you must register your application with the API console and run the KeyTool utility to get the SHA1
fingerprint for your digitally singed .apk
file's public certificate. Then paste the SHA1
to the credential page in the API console.