关于eclipse项目导入Android Studio错误集中解决

来源:互联网 发布:网络用语鸡汤什么意思 编辑:程序博客网 时间:2024/05/18 03:45
  1. “APP名称”:processDebugManifest>Manifest merger failed with multiple errors ,see logs

    看到这个错误毫无疑问定位到 Manifest文件,打开它一般会显示一大堆错误。这是由于ec里对于你删除的activity不会干掉配置文件里的注册信息,但是ad里会找不到这个activity就会报错。
    如图中红色activity,删除后clean一下。

    这里写图片描述
    如果问题仍然没有解决,那么在配置文件的根标签加入:
    xmlns:tools=”http://schemas.android.com/tools”
    在application标签里加入:
    tools:replace=”android:icon, android:theme”

    如下示例语句:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"    package="com.xxxxx.xxxxx"    android:versionCode="1"    android:versionName="1.3.1"    xmlns:tools="http://schemas.android.com/tools">    <uses-sdk        android:minSdkVersion="16"        android:targetSdkVersion="22" /><application        android:name=".classes.********"        android:allowBackup="true"        android:icon="@drawable/icon144"        android:label="@string/app_name"        android:theme="@style/ActivityTheme_Custom"        tools:replace="android:icon, android:theme" >
0 0
原创粉丝点击