I am usingandroid.enableAapt2 = false
in my gradle.properties
file. After updating android studio to 3.1 my project showing a warning to update or
Finally, I have fixed the issue by updating android gradle plugin to alpha version.
Update your android gradle plugin in your project level build.gradle file like below:
classpath 'com.android.tools.build:gradle:3.2.0-alpha13'
Now update android.enableAapt2=true
. Then check and build your project. Issue will be resolved.