After I updated my project to AndroidX
with targetSdkVersion
set to 28, my project crashes on installing it from the store for beta testing.
For those who the chosen answer didn't help them, I've found that had a problem with NavigationView theme and it should be an appCompat theme (at least for me). after creating a new style like:
and used it with android:theme="@style/NavView" in NavigationView in my mainactivity.xml, the app runs perfectly now.