Why is compilation so slow?
it.s completes the Android mode installation in Processing-4.0b1 , can compile, and execute on the phone, but the compilation time is too slow, a simple program takes more than 30 minutes, what is the reason? I tried SDK downloads automatically and manually locate the SDK directory on Android Studio. No improvement in compile time. Look forward to master to give directions! Thank you very much!
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 you using?
Confirming that the build is running fine for me (not slow) on processing 4.
@embedream try the latest release of the mode compatible with processing 4.0b7, to see if build process is faster. I have not found anything unusual so far.
Confirming that the build is running fine for me (not slow) on processing 4.
Agree with Rupesh, Build LGTM.
it.s completes the Android mode installation in Processing-4.0b1 , can compile, and execute on the phone, but the compilation time is too slow, a simple program takes more than 30 minutes, what is the reason? I tried SDK downloads automatically and manually locate the SDK directory on Android Studio. No improvement in compile time. Look forward to master to give directions! Thank you very much!
Hi @embedream , that's weird, normally build should not take more than 10-15 mins in very slow case.
I believe build is slow maybe due to too many java projects / process runnig at same time or maybe your system is low end or having less RAM.
BTW what was your system config during the build ?
Thanks, Aditya