Though I have an updated android studio I am getting the following error but I cannot find gradle 4.1 in the gradle folder but when I check file -> project structure -> grad
you can add this statement to your gradle.properties file
android.enableAapt2=false