processing / processing-android

Processing mode and core library to create Android apps with Processing
http://android.processing.org
782 stars 294 forks source link

path to external (non-standard) sketch directory not referenced in build of android tool for processing Edit #39

Open processing-bugs opened 10 years ago

processing-bugs commented 10 years ago

Issue by ld26464 Saturday Jul 13, 2013 at 16:39 GMT Originally opened as https://github.com/processing/processing-android-archive/issues/45


from the forum post: So... I found another reason that you may get caught by this problem. (note Mac OS 10.8.4, Processing 2.0.1) I have been struggling, struggling, struggling, trying all other proposed solutions. Didn't work. But what did is...

I normally put my sketches in a folder that is not the standard location. Furthermore it is not on the computer's 'home' disk.

I found that when I put the sketches into Processing's expected home directory and reassigning the path in preferences (and without doing any additional installs – I've done everything as said before) the sketch loaded to my external device properly, and also for the first time booted up an emulator (it was never creating one before). I then reassigned the path to my preferred processing sketch directory on the external drive and it worked building from there too.

So. Processing has an issue with not updating a path somewhere when Android is installed If you do not use the standard sketch path, you are screwed as something is missing when Processing tries to do the build. But resetting the path to your preferred sketch folder location after the Android installs fixes this. Whether it stays fixed is another matter.

processing-bugs commented 10 years ago

Comment by benfry Sunday Jul 14, 2013 at 15:15 GMT


Is it safe to say you're on Windows? My guess would be that the problem is actually spaces in the folder path causing the issue.

processing-bugs commented 10 years ago

Comment by ld26464 Monday Jul 15, 2013 at 15:16 GMT


No, Sorry. Mac OS 10.8.4, Processing 2.0.1. Not sure why that would result in the path not being recognized until forced by being reassigned in the preferences.

NB There are spaces in name, for example the external drive sketch folder is '/Volumes/TravelBrick Big/Documents_Travel/Processing/' and new computer is still called 'Macintosh HD'