Could not resolve com.android.support:appcompat-v7:26.1.0 in Android Studio new project

后端 未结 14 1909
一生所求
一生所求 2020-11-30 07:22

I know about this questions:

Failed to resolve: com.android.support:cardview-v7:26.0.0 android

Could not resolve com.android.support:appcompat-v7:26.1.0 [dup

14条回答
  •  隐瞒了意图╮
    2020-11-30 08:13

    I tried all of the above and nothing worked for me.

    Then I followed Gradle Settings > Build Execution, Deployment > Gradle > Android Studio and checked "Disable embedded Maven repository".

    Did a build with this checked and the problem was solved.

提交回复
热议问题