しめ鯖日記

swift, iPhoneアプリ開発, ruby on rails等のTipsや入門記事書いてます

【Kotlin】ContentProviderでGoogle Play services out of dateエラーが出たときの対処

ContentProviderでデータ取得しようとしたら下のようなエラーが出て失敗しました。

Google Play services out of date

調べたところGoogle Play Servicesのアップデートや不足しているSDKを入れる事で対処できるようです。

android studio: LogCatにWarning、Google Play services out of date. Requires 12211000 but found 11580470 | Ninton

Google Play services out of date - Qiita

自分の場合は1つ前のAPIバージョンでエミュレータを作成したら動くようになりました。

f:id:llcc:20220119105116p:plain