-
Notifications
You must be signed in to change notification settings - Fork 57
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
Library is having application icon and theme #43
Comments
The problem is that you are setting a theme, but the library also has a theme set. If you look in your log you'll see this line:
This is saying that you need to add that metadata to your application's manifest, and it will force your theme to override the current one when the manifests are merged. Here's an example from the Android documentation (http://tools.android.com/tech-docs/new-build-system/user-guide/manifest-merger):
You need to use |
I do understand that but is it for any specific reason u have got app icon
|
It likely was added by default when the library project was created, but never removed. |
alright thanks. good day
|
@curtinmartis There must be a way to ignore a certain module when packaging with Gradle. |
As the main application will already have application icon and theme in place. While building the app fails with following
Error:(39, 9) Attribute application@icon value=(@drawable/launcher_icon) from AndroidManifest.xml:39:9
Error:(41, 9) Attribute application@theme value=(@style/Theme.rctheme) from AndroidManifest.xml:41:9
is also present at com.twotoasters.clusterkraf:library:1.0.2:5:115 value=(@style/AppTheme)
Suggestion: add 'tools:replace="android:theme"' to element at AndroidManifest.xml:37:5 to override
Error:Execution failed for task ':handset:processDebugManifest'.
Possible Resolution
replace the manifest
current one
new one
The text was updated successfully, but these errors were encountered: