Thanks for your answer Ferdari.
I,m using B4A 9.80 and it does compile without the phone connected.
The compilation runs and is completed, files are saved in the "Objects" folder, and then
it tries to install the app to the phone which cannot be found because it is not connected.
I want to use USB connection because B4A Bridge is way too slow compared to USB.
As I said in my original post, I would like the IDE to check that phone is connected before starting
to compile. Maybe this is a question for Erel.