Android Build an Interactive Story App Intents and Multiple Activities Sending Data to a New Activity

Android studio giving error

Error: Static interface methods are only supported starting with Android N (--min-api 24): java.util.List okhttp3.Dns.lambda$static$0(java.lang.String)

nothing running after executing proces