Problems with the Android emulator. Does not update changes in xml files

I have a little problem with the Android emulator, when I change (for example) a string to strings.xml, I rebuild my application, but when I launch the application in the Android emulator, the application starts with old lines and does not work updated with new data.

Does anyone know how to solve it?

Thank you in advance

+4
source share
5 answers

you need a clean build If you change only xml files or other resource files, I think eclipse will not rebuild your project.

+1
source

It seems that Eclipse is not rebuilding the code. Make sure you have "Build Automatically" in the "Project" section. Try to clean the project and update it. If the problem still exists ... well, I'm not sure.

0
source

Just uninstall the application and then reinstall it with new changes, you are crazy in the application.

0
source

Try the following instructions:

  • Turn off the emulator. 2.save the current project 3. clean the project creation directory. 4. Then try to start the emulator again.
0
source

Check the application directory / src / main / res. You can have different versions of main.xml, and the emulator can use one that you don't even change anything. Just save it in the layout folder and delete others. This method fixed my problem.

0
source

All Articles