Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Error "styleable cannot be resolved or is not a field" #39

Closed
devloe opened this issue May 1, 2014 · 10 comments
Closed

Error "styleable cannot be resolved or is not a field" #39

devloe opened this issue May 1, 2014 · 10 comments

Comments

@devloe
Copy link

devloe commented May 1, 2014

I get the following error:

"styleable cannot be resolved or is not a field"

on RoundedImageViewer.java.

Ive added attrs.xml to res/values, but still no luck.

image

@vinc3m1
Copy link
Owner

vinc3m1 commented May 2, 2014

attrs.xml should be all you need. I don't use eclipse so I'm not sure I can help you too much more there... Looks like your R file isn't getting created correctly or the attrs.xml isn't getting picked up right.

@vinc3m1 vinc3m1 closed this as completed May 2, 2014
@devloe
Copy link
Author

devloe commented May 3, 2014

Is the R.styleable. necessary?
Is there a workaround for this?

@vinc3m1
Copy link
Owner

vinc3m1 commented May 4, 2014

It's necessary for custom attributes on the xml, otherwise you can try removing all references, but I recommend fixing the actual problem.

@devloe
Copy link
Author

devloe commented May 4, 2014

I know this is off topic, but what IDE are you using?

@vinc3m1
Copy link
Owner

vinc3m1 commented May 4, 2014

Android studio

@devloe
Copy link
Author

devloe commented May 5, 2014

Can you guide me a little bit on importing your library into my Android Studio using gradle?

@vinc3m1
Copy link
Owner

vinc3m1 commented May 5, 2014

@devloe
Copy link
Author

devloe commented May 5, 2014

Any toughts about this error?

Error:(12) No resource identifier found for attribute 'round_background' in package 'com.devyanlab.qomento'

@vinc3m1
Copy link
Owner

vinc3m1 commented May 5, 2014

Sorry but this isn't a Q&A forum. I suggest StackOverflow to help answer your general android development questions, you'll get faster responses there anyway.

But in regards to your last question: round_background was renamed to mutate_background in the latest version: see changelog

@devloe
Copy link
Author

devloe commented May 6, 2014

Ok, sorry! Thanks anyway.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants