I took home a Nexus tablet, which has Android 4.3 on it, and was able to upload a sketch to it, along with my phone, which has 4.4.4 installed. This was suspicious as we were having trouble in class getting both versions to work.
I believe I’m using an Android Mode build on my computer that is older and more stable than the ones we were downloading today. After looking at a bunch of blogs on the subject, on August 22 Ben Fry even admitted that Android Mode is broken right now in Processing:
But, I can get both versions of Android to work with Processing 2.2.1 using this older version of Android Mode.
Download this version of Android Mode that I have on my computer:
Unzip it and you’ll then want to place this folder in your modes directory. That is in your Processing sketch book (probably in your Documents directory): Processing > modes
Just to be safe, rename the old version/folder we are replacing so we can go back to it if we need. Something like _AndroidMode. Then place the new one that I provided in the modes folder.
Restart Processing, and this should work. If it doesn’t work, you may need to install the Android API for 4.3 or 4.4.2 form the Android SDK Manager: Applications > android-sdk-macosx > tools > android. You need to open this using Terminal. Only install the SDK Platform for each API, not the whole package.
This is what I have installed in the Android SDK Manager:
Tools Folder: Android SDK Tools 23.0.2, Android SDK Platform-tools 20, Android SDK Build-tools 20
Android 4.4W (API 20) folder: SDK Platform
Android 2.3.3 (API 10) folder: SDK Platform
I hope this helps