Java – changing the values in the array does not propagate to the application
>Objective: to demonstrate a list of string items in the active display list
When I started the application, everything was normal The list contains the expected items
Question: however, I decided to change the values in the array definition and the name of the array in the XML file
Of course, I also change all occurrences of code names from XML files to new files in the code Now, when I run the application again, I still see the old value in the list
What should I reset to see the value change?
So far, I've tried this:
>Manually uninstall the application in the simulator, then run run install again > manually start the simulator, and select erase user data > eclipse restart
Solution
You may be changing the XML file through an external editor rather than through eclipse
As suggested by pyrodante, the cleaning project will achieve the same goal, because after cleaning, APK will be rebuilt with new files