Conflict with dependency 'com.android.support:support-annotations' in project ':app'. Resolved versions for app (26.1.0) and test app (27.1.1) differ.

前端 未结 15 1520
臣服心动
臣服心动 2020-12-02 05:46

I am new to Android App Development. When I tried to create a new project,Android Project...the following message popped up..

Error:Execution failed for task \':app:

15条回答
  •  生来不讨喜
    2020-12-02 05:57

    I have the same problem, in build.gradle (Module:app) add the following line of code inside dependencies:

    dependencies 
    {
       ...
       compile 'com.android.support:support-annotations:27.1.1'
    }
    

    It worked for me perfectly

提交回复
热议问题