我从 Windows 获得了添加 bash 的最新更新,我试图通过它编写 Android 模拟器的执行脚本;但是,bash 不考虑 Windows 的 Path 变量。
另外,我尝试手动执行 adb 并得到:
andtest@DESKTOP:/mnt/c/Android/sdk/platform-tools$ exec ./adb.exe
bash: /mnt/c/Android/sdk/platform-tools/adb.exe: cannot execute binary file: Exec format error
Run Code Online (Sandbox Code Playgroud)
有什么我在这里想念的吗?我想将此 Windows 计算机用作 Android 的测试服务器。