codeanticode
codeanticode
That's weird, the sketch compilation should not take more than a few seconds (on a fast computer): Maybe there is something else is happening with your setup. What OS are...
@embedream try the [latest release](https://github.com/processing/processing-android/releases/tag/latest) of the mode compatible with processing 4.0b7, to see if build process is faster. I have not found anything unusual so far.
@q2dg Thanks a lot! Yes, need to look into that "Lost connection" error, I have seen it popping up from time to time.
The situation might not be as hopeless as I originally thought. Tested the emulator on Mac, Windows, and Linux using the most recent versions of Processing and the Android mode...
Tested emulator with latest version of the mode, 4.2.1. It works on Linux (Ubuntu 20.04) and macOS Catalina (although HAXM authorization fails in the latter). It doesn't work on Windows...
Ok, thanks for the info. I'd say that running as admin could be useful as a workaround, but the emulator should run without requiring it :-)
Sounds like setting the source and target compatibility to 1.8 is not enough because of the following: https://stackoverflow.com/questions/43102787/what-is-the-release-flag-in-the-java-9-compiler And the release compiler flag can be set in the gradle build...
Added option to top-level build file in https://github.com/processing/processing-android/commit/de89d8871bdc5f66771ba750900391bffe2465b1, will leave commented out until full transition to Java 11 is completed.
@mancoast Thanks for bringing this up. It seems that the ADK mode is no longer available, at least through the Contributions Manager. [This guide](https://www.arduino.cc/en/Guide/ArduinoADK) shows installation steps, but on Processing...
@JackWitherell no worries at all, we do appreciate the bug reporting very much. It is the required first step to get things fixed :-) There is some incomplete information [on...