Android adb 的 Windows 源代码在哪里?
Where is the Windows source code for Android adb?
我想了解 Android adb.exe
如何在 Windows 上工作。我找到了以下源代码分支:
https://android.googlesource.com/platform/system/core/+/master/adb/
但是,根据对 adb.cpp
文件的快速浏览,这似乎是 Linux 分支。 Windows 版本在哪里? (还是我错了?)
PS:有关如何导航 android.googlesource.com 的信息也将不胜感激。
作为 stated 作者 Romain Guy:
It's in the Android source tree:
https://android.googlesource.com/platform/system/adb
在 adb.cpp
中有一些对 Windows 的引用,例如:
// In the past, reading from a pipe before the child process's C Runtime
// started up and called GetFileType() caused a hang: http://blogs.msdn.com/b/oldnewthing/archive/2011/12/02/10243553.aspx#10244216
// This is reportedly fixed in Windows Vista: https://support.microsoft.com/en-us/kb/2009703
// I was unable to reproduce the problem on Windows XP. It sounds like a
// Windows Update may have fixed this: https://www.duckware.com/tech/peeknamedpipe.html
这里解释了如何构建 Android SDK 或 Windows 的工具(包括 adb):
https://android.googlesource.com/platform/sdk/+/master/docs/howto_build_SDK.txt
我想了解 Android adb.exe
如何在 Windows 上工作。我找到了以下源代码分支:
https://android.googlesource.com/platform/system/core/+/master/adb/
但是,根据对 adb.cpp
文件的快速浏览,这似乎是 Linux 分支。 Windows 版本在哪里? (还是我错了?)
PS:有关如何导航 android.googlesource.com 的信息也将不胜感激。
作为 stated 作者 Romain Guy:
It's in the Android source tree: https://android.googlesource.com/platform/system/adb
在 adb.cpp
中有一些对 Windows 的引用,例如:
// In the past, reading from a pipe before the child process's C Runtime
// started up and called GetFileType() caused a hang: http://blogs.msdn.com/b/oldnewthing/archive/2011/12/02/10243553.aspx#10244216
// This is reportedly fixed in Windows Vista: https://support.microsoft.com/en-us/kb/2009703
// I was unable to reproduce the problem on Windows XP. It sounds like a
// Windows Update may have fixed this: https://www.duckware.com/tech/peeknamedpipe.html
这里解释了如何构建 Android SDK 或 Windows 的工具(包括 adb): https://android.googlesource.com/platform/sdk/+/master/docs/howto_build_SDK.txt