Android Studio 3.0 issue

I think, this line is your problem.

failed linking file resources.

AAPT (Android Asset Packaging Tool ) can compile resources. I think you should look at this.
I assume that your gradle is version 3.0.0. You can try,

android.enableAapt2=false in your gradle.properties file and restarting the Gradle.

I’m using android studio 3.0. But I don’t use the above code.Because I didn’t encounter this the problem.
Or you can check newly released.
And check this and this.