rtchagas / pingplacepicker

An almost plug and play replacement for Google's Place Picker
Apache License 2.0
142 stars 55 forks source link

Error: Static interface methods are only supported starting with Android N (--min-api 24) #3

Closed OHassini closed 5 years ago

OHassini commented 5 years ago

I can't change my API version to more than 20 this will radically decrease the number of users

rtchagas commented 5 years ago

Hi @OussEmaDevCode

You just need to increase the compileSdkVersion.

The minSdkVersion don't need to be changed.

Please check the sample project https://github.com/rtchagas/pingplacepicker/blob/master/sample/build.gradle

There the minSdk is 19.

Thanks!