fixing android autobuild bug with string to integer conversion.