This is the happening for the second time that the XML file in android is showing strange symbols in place of my original XML code . I left my laptop for 5 minutes and came across these horrible symbols on return. This code leads to build failed. How do i get my real code(textual code) for these files .
here's what my android studio shows :
-
Have you cleaned your project? – Shahadat Hossain Jul 10 '19 at 7:03
-
its also in java class ? – KuLdip PaTel Jul 10 '19 at 7:05
-
this time it's not in java . I have also cleaned my project , and it gets build failed . I have edited the question , the code doesn't run . – Syed Hissaan Jul 10 '19 at 7:07
-
goto file ->Invalidate Caches/Restart ->Invalidate/restart Hope it will work fine for you – jayaduvanshi Jul 10 '19 at 7:08
-
@JaiBahadur doesn't work – Syed Hissaan Jul 10 '19 at 7:17