androidandroid-thingsandroid-things-console

AndroidThings OTA Updates


On my Raspberry Pi i have installed Developer Preview 5.1 and one application that works as default.

Now is Developer Preview 6 coming. For now to make OTA Updates i recieved a warning, that i should update the OS version.

I have created empty bundle with developer preview 6 and in OTA Updates i have started new Update with it. After some days my Raspberry has still preview-5.1

I have created apk for my app, zipped it, uploaded with last preview version (only last version can be selected in console) and have started new update with it. Update has never received the Raspberry.

Raspberry SD Card has 8 GB, Image is 4 GB big.

On https://developer.android.com/things/console/index.html is said, that system image updates with console OTA Updates are possible. Is it so? What have i maked wrong?


Solution

  • When I go to my Android Things console I get: To prepare your devices for OTA updates, you must flash them with Android Things DP6 or higher versions which to me means that I must flash my hardware with DP6+ before it can get OTA updates.

    The release notes for DP6: https://developer.android.com/things/preview/releases.html#preview-6

    even refer to the Device Update API: https://developer.android.com/things/sdk/apis/update.html