Air Build Error: "Could not generate timestamp"

August 5, 2010

If you're getting the error Could not generate timestamp: Connection timed out: connect when building an AIR application, this is because the build process needs to connect to the internet to get hold of the current date/time, for signing the application.

If you are connected to the internet and it still isn't working, and you're on a corporate network, you'll probably need to instruct Java to use a proxy server.

I was able to fix this problem by editing the net.properties file in the lib folder or my jre. I changed the line that said:

java.net.useSystemProxies=false

to be

java.net.useSystemProxies=true

and that fixed my build problem.

References

Tags: air build ant