Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
czl0325 opened this issue Jul 21, 2021 · 0 comments
Open

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

czl0325 opened this issue Jul 21, 2021 · 0 comments

Comments

@czl0325
Copy link

czl0325 commented Jul 21, 2021

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">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant