Skip to content
This repository was archived by the owner on Aug 14, 2018. It is now read-only.
This repository was archived by the owner on Aug 14, 2018. It is now read-only.

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

Open

Description

@ld26464
  • Export to Android device (run on device) hangs at "Waiting for Device to become available"
  • Export to Emulator (run on emulator) never builds emulator, fails.

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.

Activity

  1. benfry commented on Jul 14, 2013

    @benfry
    Contributor

    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.

  2. ld26464 commented on Jul 15, 2013

    @ld26464
    Author

    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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions