Issue
I recently tried to update the compileSdkVersion
to 24
putting the version name in my app/build.gradle
and also updated the versions for the other libraries. The buildToolsVersion
that I am using is 23.0.3
which I guess is the latest. When I build my project, it fails giving the error that the build was unable to find some of the resources listed below:
- @drawable/abc_ic_voice_search_api_mtrl_alpha
- @drawable/abc_ic_clear_mtrl_alpha
- @drawable/abc_ic_voice_search_api_mtrl_alpha
This are the internal resources from provided by the SDK and I have been using them for quite some time now. I don't know why is it failing now. Any ideas?
Solution
This are the internal resources from provided by the SDK
This is your issue.
These resources are private to the support lib or framework and you can't rely on them being there.
So now the compiler does not let you access them.
You can easily get the corresponding icons here : https://design.google.com/icons/
and import them in your project.
Answered By - Teovald
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.