Android SDK opens monitor.bat and reports an error: Windows cannot find the file'lib\monitor-location'. Please make sure the file name is correct and try again.

It was normal before, and then I thought of a java update last night, and I searched it to verify my idea.
Solution: reset the system variables.
Because I updated java last night, I took a look at my system variable classpah and copied the jre address to the explorer. As expected, the file does not exist (the jre folder is named with the version number: such as C: \Program Files (x86)\Java\jre1.8.0_241), copy C:\Program Files (x86)\Java\ to the Explorer to open it, check the version I updated last night, modify the original path, and open it.

Guess you like

Origin blog.csdn.net/zsq8187/article/details/103999079