android studio Layout Inspector 无法使用

1,813 阅读1分钟

提示错误:Application not inspectable. Deploy an app or navigate to a debuggable app on your device to begin inspection. image.png

遇到这种情况怎么处理?

Restart ADB:

  • If you are using Android Debug Bridge (ADB), try restarting it:

    adb kill-server
    adb start-server
    

image.png

然后就发现Layout Inspector可以正常使用了!