DevEco Studio 5.0.1 Beta3 is only for HarmonyOS NEXT which is an new OS independent from Android
HarmonyOS NEXT
HarmonyOS 4.2 is acutally based on Android, so the new IDE don't show the device.