Skip to content

Failed to get Google credentials for GCS connection #1

@vargasjona

Description

@vargasjona

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions