Case

Case1 legacy-preference-v14

  • sub module has implementation("androidx.legacy:legacy-preference-v14:1.0.0")

image

Case2 firebase-bom

  • app module has firebase-bom.
  • sub module has implementation("com.google.firebase:firebase-config:21.0.2")
    • same for implementation("com.google.firebase:firebase-analytics:21.0.0")

image

Code Jump

Do Code Jump With Android Studio from MainActivity: AppCompatActivity()

class AppCompatActivity extends FragmentActivity
this source is appcompat-1.4.1-sources.jar

image

class FragmentActivity extends ComponentActivity
this source is fragment-1.0.0-sources.jar
WHY?

image