Before i write this question, i already search same question about this, they did export license because still use alpha version of constrain layout. But now android already
I had the same issue and the problem was that I was using one old version of android build tools and gradle version, just updating them to the last version available did the trick. For example, today the last version of gradle is 3.3, and build tools last version is 2.3.3. My build.gradle file looks like that
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
}
}
This was raised as an issue some time ago https://issuetracker.google.com/issues/37102998 and if you go to last answers you will se that the issue was fixed by just upgrading gradle version and build tools version.