Deploying to AIR Fails with "Can't Generate Timestamp"

When I try to deploy an AIR project:

openfl deploy air

…ADT opens, the terminal hangs for a bit, and then I get the following error:

Could not generate timestamp: Operation timed out

Googling around shows similar problems related to packaging with AIR involving older Java versions and/or the timestamp server. However, I’m running the current version of Java (1.8.0_181) and I don’t see a way to change the timestamp server. FWIW, I have no problem packaging AIR apps from AS3 code via an IDE (Intellij).

Any idea what the problem could be?

I had a similar problem but fixed by simply setting the path to the AIR SDK using: openfl config AIR_SDK global/path/here.

Thanks, that fixed it. I was pointing to AIR 25 without realizing it.

1 Like