If the Pilot 2 application fails to detect the drone, first go to your device's Android Settings and force-stop all other running applications.
To prevent DJI Fly from interfering in the background, revoke its "Display over other apps" permission in the app settings.