Console doesn't show errors in Andoird mode
in
Android Processing
•
1 year ago
Hello,
First of all I apologize if this has been discussed. I searched everywhere, but I am sure to agree it's hard to come up with search terms for this situation...
I recently formated my HD and installed Java, the Android SDK and Processing 2.0b3.
When I try to launch an Android sketch, if there's an error, the deployment halts but I don't get to see the description of the error. It works fine in Java mode.
For example, I had this line:
String[] stringArray = (String[])strings.toArray(new String[strings.size()]);
Processing wasn't compiling it and the only information I was given was "Error from inside the Android tools, check the console.". I had to try to compile it in Java mode, and there I received the error message "cannot convert from Object[] to String[]" and I was able to fix the problem.
This happens every time I have an error in my code. In this case it was possible to try to compile it in Java mode (although it's annoying), but in some cases, like Android specific code, that isn't even possible.
Any solutions?
1