androidprocessingprocessing-ide

Error from inside the Android tools, check the console


Using the Processing IDE to write Processing apps for Android, I sometimes bump my head against this problem.

In the Processing IDE output window is usually something like:

BUILD FAILED
/Users/xxxxx/Tools/android-sdk-macosx/tools/ant/build.xml:850: The following error occurred while executing this line:
/Users/xxxxx/Tools/android-sdk-macosx/tools/ant/build.xml:852: The following error occurred while executing this line:
/Users/xxxxx/Tools/android-sdk-macosx/tools/ant/build.xml:864: The following error occurred while executing this line:
/Users/xxxxx/Tools/android-sdk-macosx/tools/ant/build.xml:266: null returned: 1

In most cases I can backtrack and rectify it but it's not a very informative error report. I've tried to figure out how I "check the console" but have failed in this regard.

Where is this mythical console and how to I "check it"?


Solution

  • Are you asking how to check the Android DDMS debugger (allowing you to view processes and cpu, etc on your device) ? Or how to open the OS X Console (which will just repeat what the Processing console says...) ?

    For DDMS, run the DDMS shell inside your /tools directory in your SDK. For OSX, open the 'Console.app' in /Applications/Utilities

    Generally though this error message in Processing just means it didn't compile - ie. there is a problem with your code... (NPE, etc).