Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using material search as a dependency results in build errors #161

Open
msebi opened this issue Dec 4, 2019 · 0 comments
Open

Using material search as a dependency results in build errors #161

msebi opened this issue Dec 4, 2019 · 0 comments

Comments

@msebi
Copy link

msebi commented Dec 4, 2019

I've run MaterialSearchView successfully (from a cloned repo) but can't seem to get it to run as a dependency. After following the steps in the README, the project seems alright in android studio (all styles have their corresponding icon/color in the left pane in the IDE). Build fails, however, with message:

C:\MyAndoridProject\app\src\main\res\layout\activity_main.xml:17: AAPT: error: attribute voiceIconEnabled (aka com.my.package:voiceIconEnabled) not found.

Why is it looking in the current package for the respective resources instead of the gradle cache? Upon going to resource declarations from android studio I'm correctly pointed to the cache. The build, on the other hand, is not. Why?

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

No branches or pull requests

1 participant