I am having this error in android studio whenever i click on Android Device Monitor:
---------------------------
Monitor
---------------------------
An error has
I am adding this answer because I think this will be helpful to future visitors.
I ran into the same problem, and managed to solve it. However, My solution is different from the one already mentioned.
First of all, the monitor.ini file is in C:\Users\\AppData\Local\Android\sdk\tools\lib\monitor-x86_64 and config.ini file is in ./configuration folder
When I checked log file it said (at the very end of file) :
java.io.IOException: The folder "C:\Users\.android\monitor-workspace.metadata" is read-only.
So I ran the monitor.exe
as Administrator and it worked fine.
Next I ran Android Studio as Admin and the ADM button worked fine.