原
String dstPath = getRealyPath(getSavePath())+ "\\icon\\" + iconname+iconformat;
系统自动装配
String sep = File.separator;
String dstPath = getRealyPath(getSavePath())+ sep+"icon"+sep + iconname+iconformat;
原
String dstPath = getRealyPath(getSavePath())+ "\\icon\\" + iconname+iconformat;
系统自动装配
String sep = File.separator;
String dstPath = getRealyPath(getSavePath())+ sep+"icon"+sep + iconname+iconformat;