app inspection in android studio doesn't work when using real device with lineageOS

33 Views Asked by At

when I use a virtual device in android studio, the app inspection works just fine but when i use a physical device (Redmi 9 with lineageOS 20), the app inspection menu says: "deploy a debuggable app to a device running api level 26 or higher or select a debuggable process to inspect"

enter image description here

I tried to root my device, disable SELinux, invalidate cashes, reboot, disable verity but nothing worked.

0

There are 0 best solutions below