zoukankan      html  css  js  c++  java
  • Android processDebugManifest 异常

    1.使用
    gradlew processDebugManifest --stacktrace
    进行排查;

    2.异常:
    processDebugManifest (Thread[Execution worker for ':',5,main]) completed.

    再次运行:

    Manifest merger failed : Attribute application@label value=(@string/normal_app_name) from AndroidManifest.xml:25:9-48
    	is also present at [com.shuyu:gsyVideoPlayer-java:7.1.2] AndroidManifest.xml:15:9-41 value=(@string/app_name).
    	Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:22:5-53:19 to override.
    

    解决方式:
    加入tools:replace="label"

    <application
            android:theme="@style/AppTheme"
            android:icon="@mipmap/ic_launcher"
            android:label="@string/normal_app_name"
            android:allowBackup="true"
            android:supportsRtl="true"
            tools:replace="label"
            tools:ignore="AllowBackup, GoogleAppIndexingWarning">
    
  • 相关阅读:
    两数之和
    Go网络编程UDP
    Go网络编程TCP
    Go_json
    Iris_xorm
    Go初始化结构体数组/切片
    Iris_xorm
    pyhon之函数参数
    python之深浅拷贝
    python作业之用户管理程序
  • 原文地址:https://www.cnblogs.com/jooy/p/12095390.html
Copyright © 2011-2022 走看看