I have an error in the following code:
{
compile 'com.android.support:appcompat-v7:22.0.0'
compile 'com.android.support:recyclerview-v7:22.0.0'
compile 'com.google.android.gms:play-services:9.0.0'
compile 'com.google.firebase:firebase-messaging:10.0.1'
}
Screenshot https://i.stack.imgur.com/7gkOM.png The error is:
Gradle 2.2.0 is using
What could be the problem?
Error log:
Information:Gradle tasks [:Avasarangal:generateDebugSources, :Avasarangal:mockableAndroidJar, :Avasarangal:prepareDebugUnitTestDependencies, :Avasarangal:generateDebugAndroidTestSources]
E:\MY ANDROID SOURSE CODE\railway\orginal\Avasarangal\src\main\res\menu\menu_search.xml
Error:(7, 23) No resource found that matches the given name (at 'icon' with value '@drawable/abc_ic_search_api_mtrl_alpha').
E:\MY ANDROID SOURSE CODE\railway\orginal\Avasarangal\src\main\res\menu\search.xml
Error:(7, 23) No resource found that matches the given name (at 'icon' with value '@drawable/abc_ic_search_api_mtrl_alpha').
E:\MY ANDROID SOURSE CODE\railway\orginal\Avasarangal\build\intermediates\res\merged\debug\menu\menu_search.xml
Error:(7, 23) No resource found that matches the given name (at 'icon' with value '@drawable/abc_ic_search_api_mtrl_alpha').
E:\MY ANDROID SOURSE CODE\railway\orginal\Avasarangal\build\intermediates\res\merged\debug\menu\search.xml
Error:(7, 23) No resource found that matches the given name (at 'icon' with value '@drawable/abc_ic_search_api_mtrl_alpha').
Error:Execution failed for task ':Avasarangal:processDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt
Information:BUILD FAILED
Information:Total time: 1 mins 59.967 secs
Information:5 errors
Information:0 warnings
Information:See complete output in console