fixed build with latest android tools
fixed error with wrong/null time zone (use system time zone if necessary)