我最近在Google Developer Days India上购买了Android Things Kit。我试图通过我的Mac设置它。我从Android事件控制台下载了Android Things Setup Utility。我试着运行它,然后开始安装固件。 停止说“退出状态1”。我做错了什么?
Android Things Setup Utility (version 1.0.16)
============================
This tool will help you install Android Things on your board and set up Wi-Fi.
What do you want to do?
1 - Install Android Things and optionally set up Wi-Fi
2 - Set up Wi-Fi on an existing Android Things device
1
What hardware are you using?
1 - Raspberry Pi 3
2 - NXP Pico i.MX7D
3 - NXP Pico i.MX6UL
2
You chose NXP Pico i.MX7D.
Looking for devices... This can take up to 3 minutes.
found device
Unzipping image...
Flashing Android Things. This will take a few minutes...
*Do not disconnect or interrupt!*
target reported max download size of 419430400 bytes
sending 'bootloader' (559 KB)...
OKAY [ 0.018s]
writing 'bootloader'...
OKAY [ 0.250s]
finished. total time: 0.268s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.000s
target reported max download size of 419430400 bytes
sending 'gpt' (33 KB)...
OKAY [ 0.004s]
writing 'gpt'...
OKAY [ 0.434s]
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.439s
target reported max download size of 419430400 bytes
Error: error flashing android things: exit status 1
Stopping adb server...
Stopped adb server...
答案 0 :(得分:1)
就我而言,这是因为MacOS不提供mke2fs
。
我在解压缩的图片文件夹(android-things-setup-utility/quickstart-temp/unzipped/mke2fs
)中找到了一个。
并运行mv android-things-setup-utility/quickstart-temp/unzipped/mke2fs /usr/local/bin
希望这可以提供帮助。