修复antigravity反重力在wsl2下无法使用浏览器的问题
修复antigravity反重力在wsl2下无法使用浏览器的问题
从antigravity发布以来在wsl2环境下访问浏览器一直报错“Error during tool execution”。刚开始还以为是antigravity的bug(心想bug很多也不在乎这一个),过了一个多月发现还没有修好就觉得有点不对劲,刚刚尝试了一下修复好了。
一共两步:
1.在windows chrome里安装antigravity插件 https://chromewebstore.google.com/detail/eeijfnjmjelapkebgockoeaadonbchdd?utm_source=item-share-cb
2.将wsl2的网络从默认的nat改为mirrored https://learn.microsoft.com/en-us/windows/wsl/networking
Accessing network applications with WSL
Learn about the considerations for accessing network applications when using Windows Subsystem for Linux (WSL).
感谢这位reddit上的大佬 https://www.reddit.com/r/google_antigravity/comments/1qbn5w9/to_anyone_who_use_antigravity_on_wsl_remote/
1 post - 1 participant
[](https:///t/topic/1448644)
via - (author: ikb)
Invalid media: 
评论已关闭