Skip to content

tools:replace="android:theme" 无效 #24

@czl0325

Description

@czl0325
Manifest merger failed : Attribute activity#com.yalantis.ucrop.UCropActivity@theme value=(@style/Theme.AppCompat.NoActionBar) from [com.github.li-xiaojun.AndroidKTX:library:2.2.55] AndroidManifest.xml:47:13-63
	is also present at [io.github.lucksiege:pictureselector:v2.7.3-rc06] AndroidManifest.xml:55:13-58 value=(@style/Base.Theme.NoActionBar).
	Suggestion: add 'tools:replace="android:theme"' to <activity> element at AndroidManifest.xml:43:9-47:66 to override.

添加了 tools:replace="android:theme" 无效

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/Theme.Hswebview"
        tools:targetApi="n"
        tools:replace="android:theme">

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions