问题
How can I update my Android Things preview 1 with preview 2? Is there an automatic OTA available or isn't this possible right now, so that I have to flash the sdcard (from my Raspberry Pi)?
回答1:
EDIT1:
Currently, OTA is not available.You have to download preview 2 binaries manually and flash to sdcard.
EDIT2:(2017 Jun 30)
Now,OTA is available using androidthing console.
For OTA automatic updates, you have to create factory image then download it and flash it on your sdcard/board. Thats it, from next time onwards whenever there is OS/security update.Updates will be downloaded and install automatically.Also you can update your applications from console.See below image and for more info refer.
回答2:
It was mentioned at IO 2017, OTA updates will be available via the IoT Developer Console. However I believe now because it's in developer preview, these features are not available.
https://iot.google.com/console
The IoT Developer Console is the best place for developing Android Things or Weave on your devices.
More info in the docs as always: https://developers.google.com/iot/dev-console/
来源:https://stackoverflow.com/questions/42339592/ota-for-android-things