在安装的android 3.1.2中,它显示了以下错误。
XML : C:\Users\ADC-2\AndroidStudioProjects\MyApplication5\app\src\main\res\values\colors.xml:6:40:文档结构必须在同一个实体中启动和结束。
color.xml
<?xml version="1.0" encoding="UTF-8"?><!--
/*
** Copyright 2016, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in 发布于 2018-05-30 17:59:58
如果您已经更新了Android并打开了现有项目,请尝试从Android中的“文件”菜单选项中选择“失效缓存/重新启动”选项。如果您仍然面临这个问题,那么打开项目位置文件夹,删除.idea和.impl文件,并在Android中重新打开该项目。我希望这能帮到你。
https://stackoverflow.com/questions/50610827
复制相似问题