File sdRoot = Environment.getExternalStorageDirectory();
String appName = StringUtil.getString(context, R.string.app_name);
File expFile = new File(sdRoot.getPath()+File.separator+appName+"_"+model.getuDate().replaceAll(" ", "_")+".txt");
if( !expFile.exists() && expFile.createNewFile() )
{
FileOutputStream fOut = new FileOutputStream(expFile);
fOut.write(model.getMessage().getBytes());
fOut.flush();
fOut.close();
}


제가 String 문자열들을 sd카드에 저장하고 싶거든요..
getuDate 는 업데이트된 시간이구요.
이런 식으로 저장을 하려고 하는데 
계속 IOException 이  if 구문에 계속 걸리네요.. 
Invalid argument 라고 계속 뜨고 createNewFile 도 같이 뜨는데 
이유가 뭔가요.. 
고수분들 알려주시면 감사하겠습니다 ㅠㅠ