private void writeProperties() 
	{
		InputStream in = null;
		OutputStream out = null;
		try {
					in = new FileInputStream(propertyBean.getBuildPropertiesPath());
					Properties prop = new Properties();
					prop.load(in);
					//调用 Hashtable 的方法 put。使用 getProperty 方法提供并行性。
					//强制要求为属性的键和值使用字符串。返回值是 Hashtable 调用 put 的结果。
					out = new FileOutputStream(propertyBean.getBuildPropertiesPath());
					
					prop.setProperty("sdk.dir", propertyBean.getSdkDir());
					prop.setProperty("java.dir", propertyBean.getJavaDir());
					
					prop.setProperty("project.dir", propertyBean.getProjectDir());
					prop.setProperty("project.name", propertyBean.getProjectName());
					prop.setProperty("project.version", "v"+propertyBean.getProjectVersion());
					
					prop.setProperty("key.store", propertyBean.getKeyStore());
					prop.setProperty("key.store.password", propertyBean.getKeyStorePwd());
					prop.setProperty("key.alias", propertyBean.getKeyAlias());
					prop.setProperty("key.alias.password", propertyBean.getKeyAliasPwd());
					
					prop.setProperty("jar.libs.dir",propertyBean.getJarLibsDir());
					prop.setProperty("apk.out.dir", propertyBean.getApkOutputDir());
					prop.setProperty("channel.list", propertyBean.getChannelList());
					
					//以适合使用 load 方法加载到 Properties 表中的格式，
					//将此 Properties 表中的属性列表（键和元素对）写入输出流
					prop.store(out, "Save");
			
		} catch (IOException e) {
			e.printStackTrace();
		} finally {			
			try {
				if (in != null) in.close();
				if (out != null) out.close();
			} catch (Exception e1) {
				e1.printStackTrace();
			}
		}
	}