How to find issue Android SDK 3.0 Error:(9, 5) error: resource android:attr/colorError not found

The attribute named "android:attr/colorError" is referenced by the appcompat library at API 26 and above. But the build is compiling with sdk version 22.

So, inside your app module's build.gradle, increase your compileSdkVersion to 26 to make it agree with the version of the appcompat library you are using.

In other words, right now, you have:

compileSdkVersion 22
implementation ''

But, those two versions should be in agreement. So, see what happens with:

compileSdkVersion 26
implementation ''