I am trying to use MAT to analyze a file from my Android App. with I am doing the following
- Running my application on my phone
- Using it for awhile
- Pressing the "Dump HPROF file" button in DDMS in eclipse (The resulting file shows up in eclipse)
- I then try to save the file as something but I get the following error:
"Save could not be completed. Some characters cannot be mapped using "Cp1252" character encoding. Either change the encoding or remove the characters which are not supported by the "Cp1252" character encoding."
How do I do what the error message is suggesting?
I am working on Windows 7, Eclipse Helios Service Release 2, Android version Version: 11.0.0.v201105251008-128486开发者_运维技巧
Change the encoding of your Eclipse project, for example to UTF-8.
You can do this in Eclipse for a single project by right-clicking on the project -> Properties -> Resource -> Text file encoding
Or to change the default encoding for all projects in your workspace, go to the menu Window -> Preferences -> General -> Workspace -> Text file encoding
精彩评论