added code in setVersion.sh to replace NaN for versionCode in AndroidManifest.xml