title: How to create Android Things' bundle and push it over OTA?
body: <p>Anyone succeeded creating Android Things Bundle and pushing it over OTA?</p>
  
  <p>On the Android Things' Console, there's a page to <a href="https://developer.android.com/things/console/app_bundle.html" rel="nofollow noreferrer">Create a Bundle</a> for the OTA.</p>
  
  <p>I'm trying to figure out how to do that. I've adding just a single APK file <code>main.apk</code> to a <code>ZIP</code> 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.</p>
  
  <p>Things I've tried/done:</p>
  
  <ul>
  <li>Download <code>Empty bundle</code> with <code>Things Build ID</code>=<code>NIH40K</code></li>
  <li>Creating a Bundle and pushing it to devices through <code>OTA UPDATES</code></li>
  <li>Creating a new <code>FACTORY IMAGE</code> with that newly created bundle</li>
  <li>Still my app would not be started</li>
  <li>I've checked, my app's MainActivity has <a href="https://github.com/ViliusKraujutis/Android-Things-Demo/blob/master/app/src/main/AndroidManifest.xml#L24" rel="nofollow noreferrer">action=MAIN and category=IOT_CATEGORY</a></li>
  <li>Tried running app from my laptop via <code>adb connect Andorid.local</code> and it works as designed</li>
  </ul>
  
  <p>But I couldn't make an OTA update. Anyone succeeded doing so?</p>
  
  <p>Here's my project on Github:
  <a href="https://github.com/ViliusKraujutis/Android-Things-Demo" rel="nofollow noreferrer">https://github.com/ViliusKraujutis/Android-Things-Demo</a></p>
  
  <p>Thanks</p>