如果我改变外部库:AndroidManifest,无法解析的文件 [英] If I change an external library: AndroidManifest, cannot parse file

查看:223
本文介绍了如果我改变外部库:AndroidManifest,无法解析的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打开旧的项目,注册了一个普通的Andr​​oid 2.2外部库。我想使用谷歌地图和我改变外部库到Android 2.2谷歌的API。从那以后,我无法分析清单文件,我得到一个错误:

I open an older project which has a normal Android 2.2 external library registered. I want to use Google maps and I change the external library to Android 2.2 Google APIs. After that I cannot parse the manifest file and I get an error:

AnroidManifest.xml
Error: Cannot parse file

该错误是URI中的第二行

The error is on the 2nd line in the URI

<manifest xmlns:android="http://schemas.android.com/apk/res/android"

如果我徘徊了错误,我得到的消息: URI未注册

If I hover the error, I get the message: URI is not registered.

什么是更奇怪的,当我回到一个老lilbrary到项目(正常2.2),我仍然有同样的错误。

What's even more weird, when I return an old lilbrary to the project (a normal 2.2), I still have the same error.

可能是什么原因?

PS。我使用的IDE是IntelliJ IDEA的。

PS. The IDE I use is IntelliJ IDEA.

推荐答案

很遗憾,我不能找到解决这个问题,到目前为止,解决的唯一办法是创建正确的外部库一个新项目,将文件复制到其中。

Unfortunatelly, I couldn't find the solution to this issue and, so far, the only way to solve is to create a new project with correct external libraries and to copy files into it.

这篇关于如果我改变外部库:AndroidManifest,无法解析的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆