Archive for May, 2013

Resuming a Failed SCP Transfer

May 21, 2013

A failed scp transfer can be resumed using the following command:

 

rsync --partial --progress --rsh=ssh user@host:remote_file local_file

Naturally, you will have to replace user, host, remote_file and local_file.

Hidden Android Developer Settings

May 17, 2013

In Android 4.2 the developer settings have been hidden. Among others, this affects the Nexus 4 phone.

This post explains how to access them.

In short you go to “Settings” -> “About phone” and click the “Build number” item 7 (yes, that’s seven) times.

ADT: The connection to adb is down, and a severe error has occured

May 10, 2013

The Android Developer Tools (ADT) version of Eclipse has a so-called “Android Virtual Device Manager”, available through the “Window” menu. It essentially holds a list of virtual device configurations. A highlighted configuration can be started.

If no configuration is started, running an application will result in the following error message:

[2013-05-10 13:54:45 - MyFirstApp] Android Launch!
[2013-05-10 13:54:45 - MyFirstApp] The connection to adb is down, and a severe error has occured.
[2013-05-10 13:54:45 - MyFirstApp] You must restart adb and Eclipse.
[2013-05-10 13:54:45 - MyFirstApp] Please ensure that adb is correctly located at '/opt/adt-bundle-linux-x86_64-20130219/sdk/platform-tools/adb' and can be executed.