Today we are launching a preview of the Android Things Console. This console allows developers to manage the software running on their fleet of Android Things IoT devices, including creating factory images, as well as updating the operating system and developer-provided APKs. Devices need to run a system image downloaded via the Android Things Console in order to receive future updates, such as the upcoming Developer Preview 5. Google provides all of the infrastructure for over-the-air (OTA) updates, so developers can focus on their specific application and not have to build their own implementation – getting their IoT devices to enter the market faster and more securely than before. See the blog post https://android-developers.googleblog.com/2017/06/android-things-console-developer-preview.html for more information and try the console at https://partner.android.com/things/console #AndroidThings
Android Things Console developer preview
43 plus ones
Shared publicly•View activity
View 36 previous comments
- When you've flashed your first factory image to the card the wifi is not automatically setup. So you've got to plug in a LAN cable (or use the serial cable) to setup the wifi credentials again.
The term OTA Over the Air specifically Air makes more sense with a mobile cell phone situation. Perhaps it should say Over the Network (LAN or WLAN via the Internet).Jul 11, 2017
Steps by steps procedure
First factory image to the SD-card 0.4.0_devpreview
Insert SD card in Raspberry pi 3
Connect LAN cable
adb connect <ipaddress>
Build in the newimage 4.1_devpreview <- Developer console [bundle+NH40K]
adb reboot bootloader.
This steps is correct ?Jul 12, 2017
- when you say First factory image: do you mean one you've specifically created (with a bundled apk or empty bundle) and downloaded from your console ? if so then yes. Don't just use the stock image.
Yes, you have to get it on the internet. The console will also say it's active and how many times it's been pinged.
Make a new apk and bundle it into a zip file. Upload the new bundle.zip to the console and create a new build configuration. Then move to the OTA tab choose the newest bundle and push to the device. Leave your device turned on and wait 5-6 hours. Check you log it will say if the update has been successful and now reboot. On a reboot hopefully the new apk will successfully launch.
DM's tutorial quoted earlier in this thread really has all these steps written out beautifully.Jul 12, 2017
- Thanks i will try DM tutorialJul 12, 2017
- sometimes when I say console I mean Developer console rather than console cable. You only need a console cable if you can't get an internet connection. If you can't get an internet connection you can't get an OTA update. I think we had better apologise to the community for making a mess of this thread and pick it up again on stack exchange when the next dev prev is released.Jul 15, 2017
- sorry for the inconvenienceJul 16, 2017
Add a comment...