Could not find com.android.support:appcompat-v7:25.3.1

前端 未结 8 1985
名媛妹妹
名媛妹妹 2020-12-29 06:16

I suddenly started getting this error when trying to build. This was all working a few weeks ago with no changes that I know of. The issue seems to be related to react

8条回答
  •  梦毁少年i
    2020-12-29 06:55

    Follow the steps,

    1. Add google maven in project gradle (Project: build.gradle),

      allprojects { repositories { jcenter() maven { url "https://maven.google.com" } } }

    2. Remove existing gradle cache with below command

      rm -fr ~/.gradle/caches/

    3. Have a clean build and run

提交回复
热议问题