Skip to content

Manual initialization #7596

@morand1

Description

@morand1
  • Android Studio version: Build #AI-252.27397.103.2522.14425743
  • Firebase Component: Crashlytics
  • Component version: 3.0.2

Hi I’m using multiple Firebase configurations in my project that change at runtime. The setup follows the approach described here: #66 — meaning I’m using a ResourcesWrapper, removing the Google Services plugin, and not using any google-services.json files.

The issue is that when I run the Gradle task uploadCrashlyticsMappingFile, I get the error “Google-Services plugin not configured properly”, which happens because the google-services plugin is removed.

Has anyone encountered this problem and managed to solve it?

I tried restoring the plugin and adding the following to the manifest:

<provider
    android:name="com.google.firebase.provider.FirebaseInitProvider"
    android:authorities="${applicationId}.firebaseinitprovider"
    tools:node="remove" />

However, I still get the error: “File google-services.json is missing.”

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions