Gradle Sync failed could not find constraint-layout:1.0.0-alpha2

后端 未结 22 2330
忘了有多久
忘了有多久 2020-11-27 17:39

Problem :

Error:Could not find com.android.support.constraint:constraint-layout:1.0.0-alpha2.
Required by:
myapp:app:unspecified
         


        
22条回答
  •  情书的邮戳
    2020-11-27 18:02

    Just as a heads up to those still searching for this.

    ConstraintLayout 1.0.1 and lower have been deprecated by maven.

    For a list of available constraint layouts that can be downloaded, see below:

    https://maven.google.com/web/index.html?q=Constrain#com.android.support.constraint:constraint-layout

    The easiest solution at the moment, is to change

    implementation 'com.android.support.constraint:constraint-layout:1.0.0-beta1'

    to

    implementation 'com.android.support.constraint:constraint-layout:1.0.2'

提交回复
热议问题