# android

David Martin

03/20/2021, 5:35 AM
I'm facing a really strange bug, the day before yesterday I was coding using an old version of AS(I don't remember the version), this morning I've updated to the latest version 4.1.3. My code isn't being changed anything:
Copy code
val fragmentTransaction = fragmentManager!!.beginTransaction()
Before I'm was able to navigate between fragments using above code but today isn't, how on the Earth has a bug like this? Then I changed my code to using childFragmentManager and parentFragmentManager but nothing happen, there is no logcat, no error, just can't navigate between fragments anymore, I've debuged and every variables aren't null. Is there anyone facing this bug? any solution works around? thanks in advance!
stackoverflow 4

Colton Idle

03/20/2021, 2:45 PM
Stack overflow is probably a better place to ask but I've had something similar. before anything else go into your build file and make sure all of your Androidx dependencies are up to date. That fixed the problem for me

David Martin

03/20/2021, 3:14 PM
Thanks guy, I'll try one more day then ask on SO