The problem is this: at some point, when launching the project, android studio started to launch its old version, i.e. whatever changes I made to the code or resources of the project, the same configuration that was in the moment of the bug was launched anyway. And at that moment I didn’t produce any specific actions - I fixed the error, I worked only with the code. In the future, the same code was completely cleaned, even tried to switch to another Activity, but to no avail.
2 answers
If I understand you correctly, then try to clear the project and rebuild.
- Build -> Clean Project
- Build -> Rebuild Project
Update
Yes, a lot of mistakes. If there can be no errors in your code, I would try to delete the studio settings or reinstall it.
|
Unfortunately I can not go through as the author of the question. I was able to solve the problem, for this I updated the HAXM module, which android studio strongly recommended me to update, but I did not give it much attention. After that, everything started, and the errors disappeared. The question is settled.
|
InstantRundownInstantRunin the settings will most likely help you - Yuriy Spb ♦