Loading...
Logo
Processing Forum
According to issue #1361 and pull #1731 on github, there is now a command line utility to run processing in Android mode. Apparently this new utility has been merged into the latest version of Processing, but I can't figure out where in 2.0.1 it may be lurking. I've found the source code for the bash script here. However, when I run it in terminal, I get the following error:
Copy code
  1. readlink: illegal option -- f
  2. usage: readlink [-n] [file ...]
  3. readlink: illegal option -- f
  4. usage: readlink [-n] [file ...]
  5. readlink: illegal option -- e
  6. usage: readlink [-n] [file ...]
  7. Error: Could not find or load main class processing.mode.android.Commander
I can't find any documentation of the new command. Does anyone have any ideas how to use it?

Replies(1)

I am having the same issue. Here is the output of processing-android (I put it with processing-java in my /usr/bin/):

octoair:TestAndroid octotod$ processing-android TestAndroid.pde 
readlink: illegal option -- f
usage: readlink [-n] [file ...]
readlink: illegal option -- f
usage: readlink [-n] [file ...]
readlink: illegal option -- e
usage: readlink [-n] [file ...]
Exception in thread "main" java.lang.NoClassDefFoundError: processing/mode/android/Commander
Caused by: java.lang.ClassNotFoundException: processing.mode.android.Commander
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)