I developed an app which uses for example the Google Calendar API. I used this guide to develop my app: https://developers.google.com/calendar/quickstart/android . I'm accessing the calendar list with google calendar api. This works fine, when I upload it to the signed APK to Google Play Store. But when I try it on my computer in Android Studio in simulator, then accessing the google calendar api causes the app to load and load and it does simply does nothing.
Now I want to develop a new app. I want to access Google Drive API. So I took this guide: https://developers.google.com/drive/v3/web/quickstart/android . I've done everything in the guide descriped and copied all the source code one to one in my app. But what I get is nothing but an error in the console:
The following error occurred:
null
Is there no possibility to use Google API until you upload a signed APK to the Play Store?