Quest 2 is not appearing in “run devices” in Android build

Oculus quest 2 is not appearing in the “run devices” option using Android build option. It was working perfectly at first. I had built 2 scenes with XR interaction tool kit. In order to cast the scene, i had to switch account (the first account wasn’t logged out) and suddenly I couldn’t see the option to build the project in the quest 2.

Developers mode is on in the headset though i do not have access to the mobile app. Usb debugging is on. But the device doesn’t even appear on the “adb devices” list.

I have tried changing the PC but it’s not working any where. I am think of doing a factory reset now. As i do not what to do.