Giter VIP home page Giter VIP logo

Comments (10)

croccio avatar croccio commented on August 17, 2024 1

i solve remove this library from gradle
compile 'info.hoang8f:fbutton:1.0.1'

but so i can't use some of the property of that library

from android-process-button.

dmytrodanylyk avatar dmytrodanylyk commented on August 17, 2024

@croccio how do you achieve this error?

from android-process-button.

croccio avatar croccio commented on August 17, 2024

i copy import library in gradle and than when i compile i get that error.

here you are my lib in gradle

compile fileTree(dir: 'libs', include: ['*.jar'])
compile group: 'com.squareup.picasso', name: 'picasso', version: '2.3.1'
compile project(':FloatLabel')
compile 'com.android.support:support-v4:19.+'
compile 'com.github.johnkil.android-appmsg:appmsg:1.2.0'
compile 'org.holoeverywhere:library:2.1.+@aar'
compile 'org.holoeverywhere:addon-preferences:2.1.+@aar'
compile 'com.mobsandgeeks:android-saripaar:1.0.2'
compile 'info.hoang8f:fbutton:1.0.1'
compile 'com.github.castorflex.smoothprogressbar:library:0.5.1'
compile 'com.github.dmytrodanylyk.android-process-button:library:0.0.7'

end this the error

Error:Attribute "cornerRadius" has already been defined
Error:Execution failed for task ':QTraceLite:processDebugResources'.

com.android.ide.common.internal.LoggedErrorException: Failed to run command:
/Applications/Android Studio.app/sdk/build-tools/19.1.0/aapt package -f --no-crunch -I /Applications/Android Studio.app/sdk/platforms/android-19/android.jar -M /Users/antonioscardigno/Documents/QTraceLite/QTraceLite/build/intermediates/manifests/debug/AndroidManifest.xml -S /Users/antonioscardigno/Documents/QTraceLite/QTraceLite/build/intermediates/res/debug -A /Users/antonioscardigno/Documents/QTraceLite/QTraceLite/build/intermediates/assets/debug -m -J /Users/antonioscardigno/Documents/QTraceLite/QTraceLite/build/generated/source/r/debug -F /Users/antonioscardigno/Documents/QTraceLite/QTraceLite/build/intermediates/libs/QTraceLite-debug.ap_ --debug-mode --custom-package com.paybay.qtrace.lite -0 apk --output-text-symbols /Users/antonioscardigno/Documents/QTraceLite/QTraceLite/build/intermediates/symbols/debug
Error Code:
1
Output:
/Users/antonioscardigno/Documents/QTraceLite/QTraceLite/build/intermediates/res/debug/values/values.xml:745: error: Attribute "cornerRadius" has already been defined

from android-process-button.

dmytrodanylyk avatar dmytrodanylyk commented on August 17, 2024

It means some other library also has cornerRadius attribute that's why you have merge conflict.

from android-process-button.

croccio avatar croccio commented on August 17, 2024

i found the problem, i wrote you:
"i solve remove this library from gradle
compile 'info.hoang8f:fbutton:1.0.1'

but so i can't use some of the property of that library"

Is there any way to have both library?

from android-process-button.

dmytrodanylyk avatar dmytrodanylyk commented on August 17, 2024

Currently no. I need to add prefix for all custom attributes to avoid conflict. E.g. apb_cornerRadius.

from android-process-button.

croccio avatar croccio commented on August 17, 2024

if i can ask you, do you know when you release new version? Sorry for this question

from android-process-button.

dmytrodanylyk avatar dmytrodanylyk commented on August 17, 2024

I will tomorrow, this is a major issue. Thanks for discovered issue!

from android-process-button.

croccio avatar croccio commented on August 17, 2024

Oh, i've thinked that is a very stupid and i thinked that is was my problem LOL

If i'll resolve this issue is there anyway i can commit it here and use it with gradle?

from android-process-button.

dmytrodanylyk avatar dmytrodanylyk commented on August 17, 2024

Added prefix pb_ for all custom attributes to avoid conflict.

<com.dd.processbutton.iml.ActionProcessButton
    android:id="@+id/btnSignIn"
    android:layout_width="match_parent"
    android:layout_height="48dp"
    android:layout_marginBottom="16dp"
    android:text="@string/Sign_in"
    android:textColor="@android:color/white"
    android:textSize="18sp"
    custom:pb_colorComplete="@color/green_complete"
    custom:pb_colorNormal="@color/blue_normal"
    custom:pb_colorPressed="@color/blue_pressed"
    custom:pb_colorProgress="@color/purple_progress"
    custom:pb_textComplete="@string/Success"
    custom:pb_textProgress="@string/Loading" />

Latest version 1.0.0

dependencies {
    compile 'com.github.dmytrodanylyk.android-process-button:library:1.0.0'
}

from android-process-button.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.