Skip to content Skip to sidebar Skip to footer

Failed To Install Constraintlayout For Android 1.0.2

I am new to AndroidStudio and android programing please help me to solve my problem when I create new project on AndroidStudio v3.1.4 frist time build is started to sync after 20 s

Solution 1:

I had this problem too. Turns out offline work for gradle was enabled for some reason. As such gradle is trying to get the version of constraint layout that is not cached to android studio. To enable offline work on android studio click File > Settings> Build Execution Deployment >Gradle. From there you can see a check box for offline work disable it. Hope this helps.


Solution 2:

this happens with last version update android, You can go back and make downgrade on packages gradle version or can, run clean builder, syncing again, if appear dependency offline from constraint, I did put here, to clean or to work offline. I don't remember now.

if you go to do the downgrade.

Normal implementation 'com.android.support:appcompat-v7:28.0.0-rc02' implementation 'com.android.support.constraint:constraint-layout:1.1.3'

Downgrade implementation 'com.android.support:appcompat-v7:28.0.0-rc01' implementation 'com.android.support.constraint:constraint-layout:1.1.2'


Post a Comment for "Failed To Install Constraintlayout For Android 1.0.2"