Fixing Android Development in Processing 2.1.1+
Not a showcase of work, but a quick note on something which is driving me bananas. Since Processing 2.1.2 me (and others it seems) are having issues with Android Mode. Specifically the build fails and you get this error:
[javac] Unable to locate an executable at “/Applications/Processing.app/Contents/PlugIns/jdk1.7.0_51.jdk/Contents/Home/jre/bin/javac” (-1)
(This starting appearing in 2.1.1, earlier versions are fine)
I hoped it would be resolved in 2.1.2, but hasn’t been, but someone else has found a fix on OS X at least. You need to do a wee bit of Terminal jazz, but basically…
and then run the following:
ln -s /Library/Java/Home/bin/javac javac
I restarted Processing and everything is now working again. I hope this natively gets fixed as I suspect it will turn a lot of people off Android development which is otherwise getting so much easier and is a credit to them.
As I say, I didn’t come up with this, but thought i’d signal boost it in case any followers are having the same problems.