Colby HIll
Lurker
Recently I started working on a project that is in Android Studio and it was developed by another person so up until this point they never noticed this issue. The application uses Google Drive API for its function because it creates google document files to store the data collected by the app. Until now the app had been installed only on one computer. When I tried to install the app from my computer onto my android devices (we use a phone and android wear), the Google API will not authenticate and so the app will not function properly. For reference when Installed from the base computer onto the pair the app functions perfectly. To attempt to solve this issue I created an OAuth Client ID for myself on the Google developers console, and after that, I updated the google-services.json file in the project on my laptop with the most recent version which now includes my ID. For some unknown reason, I am still unable to authenticate with Google when I install the app from my laptop. Also when the connection fails the ConnectionResult holds the value of -1 which is not a standard value and I am unsure why it is being set to this. I have been unable to find any solutions to this problem anywhere else. Is there something I am missing regarding the installation? Any suggestions would help.