question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Attribute "stepSize" has already been defined

See original GitHub issue

Hi i put your library to gradle and i got this error: Error:(669) Attribute “stepSize” has already been defined in \app\build\intermediates\res\merged\debug\values\values.xml i have in it

<attr format="integer" name="stepSize"/>
<attr format="float" name="stepSize"/>

Note: my gradle: compile(‘com.mikepenz:materialdrawer:5.3.6@aar’) { transitive = true } compile(‘com.mikepenz:fastadapter:1.6.0@aar’) { transitive = true } compile(name: ‘horizontal_number_picker’, ext: ‘aar’) compile(name: ‘wheel_picker’, ext: ‘aar’) compile ‘com.mikepenz:itemanimators:0.2.4@aar’ compile ‘com.mikepenz:fastadapter-extensions:1.6.0@aar’ compile ‘com.android.support:appcompat-v7:23.4.0’ compile ‘com.android.support:support-v4:23.4.0’ compile ‘com.android.support:design:23.4.0’ compile ‘com.android.support:cardview-v7:23.4.0’ compile ‘com.android.support:recyclerview-v7:23.4.0’ compile ‘com.google.code.gson:gson:2.7’ compile ‘com.android.volley:volley:1.0.0’ compile ‘com.github.bumptech.glide:glide:3.7.0’ compile ‘com.android.support.constraint:constraint-layout:1.0.0-alpha5’ //using custom library for date picker because native date picker select disabled dates compile ‘com.wdullaer:materialdatetimepicker:2.4.0’ //for cart count badge in toolbar compile ‘com.mikepenz:actionitembadge:3.2.6@aar’ compile ‘com.cocosw:bottomsheet:1.+@aar’ compile ‘uk.co.chrisjenx:calligraphy:2.2.0’ compile ‘com.jakewharton:butterknife:8.2.1’ apt ‘com.jakewharton:butterknife-compiler:8.2.1’ testCompile ‘junit:junit:4.12’ //i use custom rating bar because android native bar isn’t fully resizable compile ‘com.iarcuschin:simpleratingbar:0.0.5’ Thanks

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
FlyingPumbacommented, Aug 12, 2016

I decided a different approach. I realized that libraries like FAB add a prefix fab_ to the attributes, so I’m adding srb_. Already pushed to jcenter and Maven Central as version 0.0.7, try it out ! 😃

1reaction
FlyingPumbacommented, Aug 9, 2016

Amazing ! thanks. I’ll probably change it anyway, to something like ratingStepSize, to avoid possible problems to other users.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Attribute *** has already been defined - Stack Overflow
Edit: So i found out that there is already any attribute in generated R file named "headerLayout". It seems like I have two...
Read more >
Attribute has already been defined · Issue #96 - GitHub
Hi @mikepenz. Your lib is very useful but when import library, I got this error, can you tell me how to fix it...
Read more >
optuna.trial.Trial — Optuna 3.0.4 documentation
A trial is a process of evaluating an objective function. This object is passed to an objective function and provides interfaces to get...
Read more >
Process Windows (Time Series) - RapidMiner Documentation
For the next iteration the window is shifted by k values, defined by the step size parameter. The described behavior is the default...
Read more >
R.attr - Android Developers
Specify the auto-size step size if autoSizeTextType is set to uniform . ... after its settings have been restored during a full-system restore...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found