Reputation: 11
Do I need to save before running the android emulator on eclipse.
I get the error MainActivity.java has been modified. Save changes?
Can I not save?
Thanks
Upvotes: 1
Views: 118
Reputation: 29
The answer to your question is Yes, as ADT would check up the changes in the code, else the previous non updated code would be executed. There will be also a case where you have rectified a problem in your project and you will be still be facing it in the execution if the project is not saved.
Upvotes: 1
Reputation: 439
If you were to run without saving, your new code would not be compiled and the emulator would not run the code you had just typed. If you are not sure about a change or want to keep older versions, just use the Save As command and keep multiple versions.
Upvotes: 1