I'm migrating my dependencies for an Android P test to the androidx dependencies. For some not very clear reasons my project does not compile anymore (and no I won't provide the details to avoid a distinct problem). I found out (via gradlew dependencies
) that the databinding uses the "oldschool" dependency android.arch.lifecycle:runtime:1.0.3
instead of androidx.lifecycle:lifecycle-runtime:2.0.0-beta01
. I guess that could be one reason.
Any idea how to force using the new package names/dependencies?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…