title: Firebase initiliaze without google_services.json file
body: <p>I want to initialize firebase at runtime. I convert the JSON file to XML on this site -> <a href="https://dandar3.github.io/android/google-services-json-to-xml.html" rel="nofollow noreferrer">https://dandar3.github.io/android/google-services-json-to-xml.html</a></p>
  
  <p>Then I put string in app/res/strings.xml file.
  <a href="https://i.stack.imgur.com/Fdwif.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Fdwif.png" alt="enter image description here"></a></p>
  
  <p>app/build.gradle file:</p>
  
  <pre><code>apply plugin: 'io.fabric'
  .....
  dependencies {
      implementation 'com.crashlytics.sdk.android:crashlytics:2.9.6'
      implementation 'com.google.firebase:firebase-core:16.0.4'
  }
  </code></pre>
  
  <p>build.gradle file:</p>
  
  <pre><code>buildscript {
      repositories {
          ...
          maven { url 'https://maven.fabric.io/public' }
      }
      dependencies {
          ...
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
  
          classpath 'io.fabric.tools:gradle:1.26.1'
      }
  }
  </code></pre>
  
  <p>I build my project and the error is here:</p>
  
  <blockquote>
    <p>Crashlytics found an invalid API key: null. 
    Check the Crashlytics plugin to make sure that the application has been added successfully! 
    Contact support@fabric.io for assistance.</p>
  </blockquote>
  
  <p>What is the problem? Firebase says .that you can delete the google_services.json file from your project.
  <a href="https://i.stack.imgur.com/jj3oc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jj3oc.png" alt="enter image description here"></a></p>