Android adb的Windows源代码在哪里?

时间:2015-11-08 14:36:28

标签: android windows adb

我想了解Android adb.exe如何在Windows上运行。我找到了以下源代码分支:

https://android.googlesource.com/platform/system/core/+/master/adb/

然而,基于adb.cpp文件中的快速浏览,这似乎是Linux分支。 Windows版本在哪里? (或者我错了?)

PS:关于如何导航android.googlesource.com的信息也将受到赞赏。

2 个答案:

答案 0 :(得分:4)

Romain Guy的stated

  

它位于Android源代码树中:   https://github.com/android/platform_system_core/tree/master/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

答案 1 :(得分:-1)

android官方网站怎么样;  http://source.android.com/source/downloading.html