How to use Google Drive API to upload files when developing Android applications?

has enabled Google Drive API, according to the example on the page
below, but still cannot upload. There should be no problem with the code of
app. Is there anything else that has not been opened or set up in api?
checked, some people said to enable both drive api
and drive sdk, but it seems that drive sdk is no longer available.
https://developers.google.com.

Mar.10,2021
Menu