Can not use compose inspector in Android Studio (Flamingo 2022.2.1)

240 Views Asked by At

Screenshot

The device's network is working, but as the screenshot shows, I can't connect to the URL: maven.google.com, causing the compose checker to not work properly.

I tried to modify the version for older versions of Compose but it did not solve the problem.

Can I set up the URL or other solution in some way so that I can use compose inspector?

2

There are 2 best solutions below

1
aditya7822 On

I had the same issue. What I found was that the layout inspector would stop working when I used 'Compose Navigation' library with version '2.7.0-beta02'. The layout inspector started working again when I changed the navigation library version to '2.6.0'.

0
Artur Danielyan On

Downloading the last version which is Android Studio Giraffe | 2022.3.1 at the moment worked for me.