当您运行命令:$ emulator
时,模拟器会查找预构建的金鱼内核,但是,我无法再在标准~/prebuild/android-arm/kernel
文件夹中找到它(因为内核不再存在,只是文件夹“adbserver”)。模拟器查找的实际内核二进制文件的新位置在哪里? (它是:~/prebuilts/qemu-kernel/arm/kernel-qemu-armv7
?)
更重要的是,我运行了特殊的模拟器命令:
$ emulator -kernel path/to/my/kernel/zImage -show-kernel -verbose
并在日志底部出现以下问题:
emulator: Found ro.adb.qemud build property: 1
emulator: control console listening on port 5554, ADB on port 5555
emulator: can't connect to ADB server: Connection refused
emulator: ping program: /home/bucknell/Android_Platform_Dev/out/host/linux-x86/bin/ddms
emulator: ping command: /home/bucknell/Android_Platform_Dev/out/host/linux-x86/bin/ddms ping emulator 20.0 "" "" ""
Uncompressing Linux.................................................................................................. done, booting the kernel.
控制台就在那里。我需要做些什么来确保它连接到ADB?我在哪里将自定义金鱼内核放入ASOP树中?