Issue: Android Studio displaying XML code and causing project to not build
I recently encountered a problem where Android Studio suddenly displayed the following code:
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2019 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the L
This caused my project to not be able to build. I tried creating a new project and it was fine, but I cannot recreate my project from scratch as I am close to completing it.
Does anyone have any experience with this issue?