Comments (10)
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.
@croccio how do you achieve this error?
from android-process-button.
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.
It means some other library also has cornerRadius
attribute that's why you have merge conflict.
from android-process-button.
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.
Currently no. I need to add prefix for all custom attributes to avoid conflict. E.g. apb_cornerRadius
.
from android-process-button.
if i can ask you, do you know when you release new version? Sorry for this question
from android-process-button.
I will tomorrow, this is a major issue. Thanks for discovered issue!
from android-process-button.
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.
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)
- README HOT 3
- How to signal error HOT 1
- How to use it in eclipse
- Layout xml
- setText doesn't modify normal text
- Single Line True Does Not Show Progress Bar
- Question: re-enable button after tot secs HOT 2
- Re-enabling Button for user to click again. HOT 1
- Problem using your code HOT 1
- Round Corners HOT 1
- Decrease min SDK to 9, Update targetSdkVersion, compileSdkVersion to 24, update support library version to latest
- Owner, where are you? HOT 2
- drawable background dosnt work ..
- Start Progress start after task complete ?
- The text don't change
- How to change font?
- How to make Edges Rounded? HOT 1
- Action Process Button will show loading progress animation only on first time
- Binary XML file line #212: Binary XML file line #212: Error inflating class com.dd.CircularProgressButton HOT 1
- Process button
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-process-button.