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

Complile time exception #9

Open
isabsent opened this issue Sep 4, 2017 · 7 comments
Open

Complile time exception #9

isabsent opened this issue Sep 4, 2017 · 7 comments

Comments

@isabsent
Copy link

isabsent commented Sep 4, 2017

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.
@ashik94vc
Copy link
Owner

ashik94vc commented Sep 4, 2017 via email

@isabsent
Copy link
Author

isabsent commented Sep 4, 2017

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>

@ashik94vc
Copy link
Owner

ashik94vc commented Sep 8, 2017 via email

@Orpheus007
Copy link

I'm having the same problem as above, is there a way to fix this?

@siddharthcse7
Copy link

Facing same issue

@kparitosh21
Copy link

Not able to import your library, :(
Not able to make an object of it in class

@isabsent
Copy link
Author

@lightning-bug Try this fork.

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

5 participants