Apphive Documentación ( English)

Error code: 1039

If you got here because of a compiler error, don't worry! We have prepared this documentation to help you solve your problem; Just follow the steps below:
The error in your compilation can be caused by the lack of OAuth licenses generation in Firebase. This can be due to a recent project change or configuration in Firebase. To fix it, we recommend watching the following video tutorial and step by step guide that will guide you through the solution process.
Step 1: Whether you have the property mentioned in step 5 or not, go to the API credentials section in the Google Cloud Console for the project.
Step 2: In the OAuth 2.0 client ID section, check that you have the corresponding OAuth for your build ID (use the Control + F function for a more efficient search).
Step 3: If you already have it and the problem persists, please contact the Apphive support. If you do not have it, it is likely still assigned in your previous project. In that case, you will need to go to the Google Cloud Console of the previous project where you had your applications.
Step 4: Once you have located the credential corresponding to your build ID in the previous project, you will need to delete it. Make sure it is the correct one corresponding to your build ID. Remember that deleting credentials or other files is your responsibility.
Step 5: After deleting the credential, go to Firebase and access your previous project. If you still have the application within the project, make sure it does not have assigned SHA-1. If it still has, proceed to remove it. Remember that deleting credentials or other files is your responsibility.
Step 6: Rebuild your app, place the SHA-1 in the corresponding application within your new project in Firebase, and this should generate the licenses correctly, giving you a successful build.