Android Studio 3.1.2 : Failed to resolve: runtime

前端 未结 4 2046
栀梦
栀梦 2021-02-02 06:58

I have recently updated my Android Studio to 3.1.2 . After the update I tried opening the existing project and was shown multiple gradle errors while compiling the project.

4条回答
  •  故里飘歌
    2021-02-02 07:41

    yes ,

    If you are getting error like error run time you can change the position of google() in dependencies in build. gradle.. Like below:

    repositories {
        google()
        jcenter()
    
    }
    

提交回复
热议问题