Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to get Google credentials for GCS connection #1

Open
jonra1993 opened this issue Jun 5, 2024 · 2 comments
Open

Failed to get Google credentials for GCS connection #1

jonra1993 opened this issue Jun 5, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@jonra1993
Copy link

jonra1993 commented Jun 5, 2024

When I try to install this pckage int a new project or run the example I get

how to solve this A problem occurred configuring root project 'android'.
> Could not resolve all files for configuration ':classpath'.
   > Could not resolve com.android.tools.build:gradle:8.0.1
     Required by:
         project :
      > Could not resolve com.android.tools.build:gradle:8.0.1
         > Could not get resource 'gcs://snapengine-maven-publish/releases/com/android/tools/build/gradle/8.6/gradle-8.6.pom'.
            > Failed to get Google credentials for GCS connection
   > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0.
     Required by:
         project :
      > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0.
         > Could not get resource 'gcs://snapengine-maven-publish/releases/org/jetbrains/kotlin/kotlin-gradle-plugin/1.7.0/kotlin-gradle-plugin-1.7.0.pom'.
            > Failed to get Google credentials for GCS connection

I think it is been caused in build.gradle by

    maven {
        url "gcs://snapengine-maven-publish/releases"
    }

It is shown that GOOGLE_APPLICATION_CREDENTIALS is not defined.

@jonra1993
Copy link
Author

The solution is in this PR #2

@jciereszko1 jciereszko1 added the bug Something isn't working label Sep 19, 2024
@jciereszko1 jciereszko1 self-assigned this Sep 19, 2024
@jciereszko1
Copy link
Collaborator

Hi,
Thanks for reporting this issue and proposing a fix! To minimize the list of changes we prepared a PR with just that update: #5

I hope it's ok with you and it will fix this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants