ElegantNumberButton
ElegantNumberButton copied to clipboard
Complile time exception
Please, remove android:icon="@mipmap/ic_launcher"
from your library! I have a compile time exception
Error:Execution failed for task ':app:processDebugManifest'.
Manifest merger failed : Attribute application@icon value=(@mipmap/cashbox) from AndroidManifest.xml:30:9-39
is also present at [com.cepheuen.elegant-number-button:lib:1.0.2] AndroidManifest.xml:13:9-43 value=(@mipmap/ic_launcher).
Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml:27:5-56:19 to override.
Can you do that and submit a pull request ? I'll merge it.
On Mon, Sep 4, 2017, 12:44 AM isabsent [email protected] wrote:
Please, remove android:icon="@mipmap/ic_launcher" from your library! I have a compile time exception `Error:Execution failed for task ':app:processDebugManifest'.
Manifest merger failed : Attribute application@icon value=() from AndroidManifest.xml:30:9-39 is also present at [com.cepheuen.elegant-number-button:lib:1.0.2] AndroidManifest.xml:13:9-43 value=(). Suggestion: add 'tools:replace="android:icon"' to element at AndroidManifest.xml:27:5-56:19 to override.`
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ashik94vc/ElegantNumberButton/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/AFyZR2aXpj4bgWfbHmceAP69Hbv4swWIks5se4AzgaJpZM4PLc7n .
-- Ashik Vetrivelu
I have no idea how to do it. Never did it before, sorry. But you can just remove all entries from application
tag in the lib
manifest ElegantNumberButton/lib/src/main/AndroidManifest.xml
i.e. set
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.cepheuen.elegantnumberbutton">
</manifest>
instead of
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.cepheuen.elegantnumberbutton">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
</application>
</manifest>
I'll look into these sometime this weekend.
Thanks, Ashik Vetrivelu
On Sep 4, 2017 2:57 AM, "isabsent" [email protected] wrote:
I have no idea how to do it. Never did it before, sorry. But you can just remove all entries from application tag in the lib manifest ElegantNumberButton/lib/src/main/AndroidManifest.xml i.e. set
instead of
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
</application>
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/ashik94vc/ElegantNumberButton/issues/9#issuecomment-326880892, or mute the thread https://github.com/notifications/unsubscribe-auth/AFyZRwlW122o6o-tLUzOhLtajRSF90a_ks5se59ZgaJpZM4PLc7n .
I'm having the same problem as above, is there a way to fix this?
Facing same issue
Not able to import your library, :( Not able to make an object of it in class
@Lightning-Bug Try this fork.