Ong Tiong Seng
Ong Tiong Seng

Reputation: 11

Save code before running android emulator?

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

Answers (3)

Mandav Prakash
Mandav Prakash

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

luc122c
luc122c

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

T.Woody
T.Woody

Reputation: 1228

You're answer can be found here

The answer, is yes. Yes, you have to save it.

Upvotes: 0

Related Questions