Unable to use the new Color Preference
See original GitHub issueHi, I couldn’t get the new Color preference working.
After including in my gradle file the compile 'net.xpece.android:support-preference-color:0.6.0'
line, I get
Error:Failed to resolve: xpece-android-support-preference:support-preference:unspecified
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Highlight Color preference problem detect… - Apple Community
For some reason, my can not change highlight color to blue. In the System Preference, General. Even though highlight color is blue, its...
Read more >Unable to change between black/white and colour printing ...
Right-click on Envy 5544 and select “Printing Preferences”. Navigate to print quality / layout tab and make sure that the color printing option...
Read more >F24: Failure of Success Criterion 1.4.3, 1.4.6 and 1.4.8 due to ...
If the author forces the background to be white, then the white background specified by the author could be similar in color to...
Read more >Color Management preferences | Maya 2022
Choose the color space to convert images into. Use View Transform applies the View and Display transforms specified for the scene in the...
Read more >change background color of Preference - android
I am unable to set the background of my settings screen, this screen is displayed with help of xml file shown below. Please...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The issue is I currently have to manually fix the dependency from
to
when releasing the library.
The first time (0.6.0) i didn’t know at all. The second time (0.7.0) I fixed only the version and didn’t notice the groupId being wrong.
I uploaded fixed .pom file (maven metadata) but there’s a million caches on the way to your Android Studio so you probably won’t pick it up. For now you’re stuck with @aar suffix and manually importing
net.xpece.android:support-preference
as well.Thank you for letting me know and let’s pray I get it right in next release.
Still fails for me. Error message:
Adding the @aar sufix solves the issue.
I don’t know if this have something to do, but I have upgraded to Android Studio 2 yesterday, and to make sure I have the latest support library (I’ve seen the comment
// depends on preference-v7 r23.3.0
in readme) I kept “Android Support Repository, rev 30” and removed “Android Support Library 23.2.1” in SDK Manager.I’ve done this after asking asking in G+ (https://plus.google.com/+AndroidDevelopers/posts/iTDmFiGrVne) why I couldn’t see the 23.3.0 release in SDK Manager. The docs say “Note: If you’re developing with Android Studio, select and install the Android Support Repository item instead”.