java.lang.BootstrapMethodError: Exception from call site #4 bootstrap method ,when initializing Retrofit
add
compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8}
in your build.gradle
file.