Unable to modify Navigation Drawer Menu under Android Studio Giraffe | 2022.3.1 Patch 4
I made an app using a NavigationView and used to be able to modify the drawer menu after catching a selection in onNavigationItemSelected. The app was compiled with Android Studio version 4.1.2 and runs fine up to Android 11. Now a tablet with Android 14 came up and the installation was denied because of security requirements. So I tried to mofify the code and recompiled it, now with Android Studio version 2023(Giraffe). There were a couple of changes necessary in the Gradlebuild(app), but finally I managed to recompile, but now I cannot modify the drawer menu (clear, add new items etc.) anymore when going over the onNavigationItemSelectHandler as before.
I am quite unsure about the dependencies in the build app module and other things and would be happy if anybody could explain the fault.