Trick to get your test builds to Android ASAP?

Right now I’m doing it like this:

a) Saving build to Dropbox
b) Open Dropbox app in Android
c) Download build
d) Open app

My dream scenario is that my Android device detects that there is a new build, downloads, installs and launches.

What are people doing? [import]uid: 65415 topic_id: 34783 reply_id: 334783[/import]

I do exactly the same :slight_smile: [import]uid: 128747 topic_id: 34783 reply_id: 138288[/import]

What about the command line: adb install -r appname.apk? [import]uid: 70847 topic_id: 34783 reply_id: 138310[/import]

I do exactly the same :slight_smile: [import]uid: 128747 topic_id: 34783 reply_id: 138288[/import]

What about the command line: adb install -r appname.apk? [import]uid: 70847 topic_id: 34783 reply_id: 138310[/import]

I finally got around trying this. It is much better than Dropbox method.

These are the steps required (on Mac).

  1. Download Android SDK http://developer.android.com/sdk/index.html

  2. Unpack zip and move the resulting folder to some good location (like Applications), there is no install executable.

  3. Navigate to platform-tools folder: …/adt-bundle-mac-x86_64/sdk/platform-tools

  4. Connect your device with USB. Do ./adb devices and see if any devices come up. If not, enable USB Debugging in Developer settings on the device. On my Nexus 7 it was like this http://www.youtube.com/watch?v=fbystsylErw
    – On Windows you may have to install a driver for the device as well.

  5. Once you get your device detected do ./adb install -r path/to/appname.apk and app gets installed without any pop ups etc.

  6. You can then run it with: ./adb shell am start -n com.package.name/com.ansca.corona.CoronaActivity

You may want to add PATH environment variable to adb so you can do this from where you save the apk file. Also adb logcat will dump everything to your console, including print statements.
Regards,
Jon Jonsson [import]uid: 65415 topic_id: 34783 reply_id: 139163[/import]

I finally got around trying this. It is much better than Dropbox method.

These are the steps required (on Mac).

  1. Download Android SDK http://developer.android.com/sdk/index.html

  2. Unpack zip and move the resulting folder to some good location (like Applications), there is no install executable.

  3. Navigate to platform-tools folder: …/adt-bundle-mac-x86_64/sdk/platform-tools

  4. Connect your device with USB. Do ./adb devices and see if any devices come up. If not, enable USB Debugging in Developer settings on the device. On my Nexus 7 it was like this http://www.youtube.com/watch?v=fbystsylErw
    – On Windows you may have to install a driver for the device as well.

  5. Once you get your device detected do ./adb install -r path/to/appname.apk and app gets installed without any pop ups etc.

  6. You can then run it with: ./adb shell am start -n com.package.name/com.ansca.corona.CoronaActivity

You may want to add PATH environment variable to adb so you can do this from where you save the apk file. Also adb logcat will dump everything to your console, including print statements.
Regards,
Jon Jonsson [import]uid: 65415 topic_id: 34783 reply_id: 139163[/import]