Gradle project sync failed in Android Studio 3.0.1 [SOLVED]

Just tested it and above description seems right.

Even if make the dependencies no transitive, the sample does not work.