Anyone succeeded creating Android Things Bundle and pushing it over OTA?
On the Android Things\' Console, there\'s a page to Create a Bundle for the OTA.
I\'
Here are all the steps necessary to make OTA update possible after creating a new product in your android things console :
1 - Create your first build configuration, either from the empty bundle in the console or from a personnal bundle you added.
2 - Download build of this build configuration. You will get an Android Things image. Flash it to your RPi as you did when you flashed the Android Things regular image. https://developer.android.com/things/hardware/raspberrypi.html#flashing_the_image
From now on, your RPi will check if a different version of your product has been pushed from the console. The check happens every 5 or 6 hours so you might have to be patient. Also your RPi needs to have internet access.
3 - Upload another bundle to your console, create a build configuration for it and then push it to your devices via the OTA updates panel of your console.
4 - You will need to manually reboot the RPi to apply the update.
This article from Dave McKelvie is a good example in my opinion : http://android.geek.nz/hello-android-things-developer-console/
I had a problem with getting the main apk to run. Turns out if your custom animation is misconfigured the main apk will fail to load and it will never be launched. I solved the problem by installing a stock build with empty bundle. Using adb to connect and retrieve the existing animation. I then used this animation along with my main apk to create a bundle. I loaded this image on my device and my main app loaded just fine.