Reputation: 27206
I have a Processing sketch that works fine on my computer.
I'm now trying to get it running on my Android tablet using Processing Android mode. But I'm getting a lot of compiler errors saying "cannot find symbol".
I'm using some Processing libraries I've created using https://github.com/processing/processing-library-template .
These libraries don't actually access system resources or call the Processing library themselves. Or any other external Java except Java.util. They're just manipulating data-structures.
However it seems Android mode has a problem with them.
Googling around it seems that a lot of Processing libraries don't work with Android Mode, but I can't find anything explicit : should I simply assume that external libraries can't work at all with Android mode? Or are there specific things that won't work? Or should I be looking for a specific bug somewhere in my code?
Update : Further details. I believe Processing Android mode targets Android 2.3.3. I'm using Processing 2.21. The libraries I'm talking about are my own.
Upvotes: 25
Views: 1497
Reputation: 14367
From a related Git Issue page , a comment by omerjerk
The master branch of this repository is not buildable with the master branch of processing. processing has moved ahead and we haven't updated this repository yet. Why are you really building the Android mode yourself ? If you want to run your processing sketches on your phone, then just download
processing 2.2.1
from the main website, open the IDE and from there, download the Android mode. In case, if you really want to build Android mode from source, apply this pull request - #98 .
See if this helps
Upvotes: 3