[Solved] Error java.lang.NoSuchMethodError: No static method [duplicate]


Use this

compileSdkVersion 27.0.2
buildToolsVersion '27.0.2'
implementation 'com.android.support:appcompat-v7:27.0.2'

Instead of this

compileSdkVersion 26
implementation 'com.android.support:appcompat-v7:26.1.0'

0

solved Error java.lang.NoSuchMethodError: No static method [duplicate]