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">
    
  • 相关阅读:
    图论概况
    [NOI2006]最大获利
    Dining
    [USACO5.3]校园网Network of Schools 缩点
    I Hate It
    [USACO06JAN]牛的舞会The Cow Prom Tarjan
    爱在心中
    [HAOI2006]受欢迎的牛
    泥泞的道路
    上白泽慧音
  • 原文地址:https://www.cnblogs.com/jooy/p/12095390.html
Copyright © 2011-2022 走看看