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'm trying to figure out how to do that. I've adding just a single APK file main.apk
to a ZIP
file. Then I've tried to push it to a RPi which is sitting nearby. But the main.apk would not be launched on the device.
Things I've tried/done:
- Download
Empty bundle
withThings Build ID
=NIH40K
- Creating a Bundle and pushing it to devices through
OTA UPDATES
- Creating a new
FACTORY IMAGE
with that newly created bundle - Still my app would not be started
- I've checked, my app's MainActivity has action=MAIN and category=IOT_CATEGORY
- Tried running app from my laptop via
adb connect Andorid.local
and it works as designed
But I couldn't make an OTA update. Anyone succeeded doing so?
Here's my project on Github: https://github.com/ViliusKraujutis/Android-Things-Demo
Thanks