title: Why does I'm getting "Service not registered" exception, even though I not used any service in Android - Java/Kotlin?
body: <p>I haven't used any receiver or something. But I used Firebase in my Android project. Previously I was not getting this exception, but suddenly it is showing!</p>
  <p><strong>Exception:</strong></p>
  <pre><code>W: Exception thrown while unbinding
      java.lang.IllegalArgumentException: Service not registered: com.google.android.gms.measurement.internal.zzjp@4701ac1
          at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1751)
          at android.app.ContextImpl.unbindService(ContextImpl.java:1776)
          at android.content.ContextWrapper.unbindService(ContextWrapper.java:741)
          at com.google.android.gms.common.stats.ConnectionTracker.zza(com.google.android.gms:play-services-basement@@17.3.0:55)
          at com.google.android.gms.common.stats.ConnectionTracker.unbindService(com.google.android.gms:play-services-basement@@17.3.0:50)
          at com.google.android.gms.measurement.internal.zziv.zzag(com.google.android.gms:play-services-measurement-impl@@17.5.0:245)
          at com.google.android.gms.measurement.internal.zziv.zzal(com.google.android.gms:play-services-measurement-impl@@17.5.0:262)
          at com.google.android.gms.measurement.internal.zziv.zzc(com.google.android.gms:play-services-measurement-impl@@17.5.0:336)
          at com.google.android.gms.measurement.internal.zziu.zza(com.google.android.gms:play-services-measurement-impl@@17.5.0:2)
          at com.google.android.gms.measurement.internal.zzai.run(com.google.android.gms:play-services-measurement-impl@@17.5.0:7)
          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          at com.google.android.gms.measurement.internal.zzfy.run(com.google.android.gms:play-services-measurement-impl@@17.5.0:21)
  </code></pre>
  <p>There is nothing important in <strong>Manifest</strong> file.</p>
  <p><strong>Buld.gradle (app):</strong></p>
  <pre><code>buildscript {
      repositories {
          google()
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:4.1.0-rc03'
          classpath 'com.google.gms:google-services:4.3.4'
          classpath 'com.google.firebase:firebase-crashlytics-gradle:2.3.0'
      }
  }
  
  allprojects {
      repositories {
          google()
          jcenter()
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>
  <p><strong>Build.gradle (module)</strong></p>
  <pre><code>dependencies {
      ......
  
  //Google Firebase
      implementation 'com.google.firebase:firebase-auth:19.4.0'
      implementation 'com.google.firebase:firebase-database:19.5.0'
      implementation 'com.google.firebase:firebase-messaging:20.3.0'
      implementation 'com.google.firebase:firebase-storage:19.2.0'
      implementation 'com.google.firebase:firebase-crashlytics:17.2.2'
      implementation 'com.google.android.gms:play-services-analytics:17.0.0'
      implementation 'com.google.firebase:firebase-analytics:17.5.0'
   //Google Location
      implementation 'com.google.android.gms:play-services-location:17.1.0'
  
      //Shimmer Layout
      implementation 'com.facebook.shimmer:shimmer:0.5.0'
  
      //Google Auth
      implementation 'com.google.android.gms:play-services-auth:18.1.0'
      implementation 'com.google.android.gms:play-services-auth-api-phone:17.4.0'
  </code></pre>
  <p><strong>BaseApplication</strong></p>
  <pre><code>public class BaseApplication extends Application {
  
      @Override
      public void onCreate() {
          super.onCreate();
          FirebaseCrashlytics.getInstance().setCrashlyticsCollectionEnabled(true);
          FirebaseAnalytics.getInstance(this).setAnalyticsCollectionEnabled(true);
      }
  
      protected void showLog(String msg) {
          Log.d(this.getClass().getSimpleName(), msg);
      }
  
  }
  </code></pre>
  <p><strong>Troubleshooting:</strong></p>
  <ol start="0">
  <li>Found this: <a href="https://developers.google.com/android/reference/com/google/android/gms/measurement/package-summary" rel="noreferrer">https://developers.google.com/android/reference/com/google/android/gms/measurement/package-summary</a></li>
  <li>Searched on stackoverflow, but not found proper solution</li>
  <li>Checked Manifest file</li>
  <li>While testing, Firebase services are running fine</li>
  <li>Not understood, what to debug where!</li>
  </ol>
  <p>Thank you!</p>