LoginSignup
4
6

More than 5 years have passed since last update.

Google Play services out of date

Posted at

アプリを走らせるとこんな感じのログ(エラーではない)が出る。

Google Play services out of date.  Requires 9080000 but found 8489470
Failed to connect to remote ad request service.

同時に「google play 開発者サービスの更新が必要です」というダイアログも表示される。自分の場合はGoogleMapAPIを使っていたのだけど、そこの処理がうまくいっていなかった。

環境

  • AndroidStudio 2.2.2
  • AVDManagerから立ち上げたエミュレータ

解決法

更新したいけどエミュレータなのでPlayStoreからの更新はできない。なので、AndroidStudioのSDKManagerからGoogleAPIsとGoogleAPIsSystemImageを入れる。

SDKManagerを開いて、
Appearance & Behavior > System Settings > Android SDK
を開く。
SDKPlatformsタブでから「Show Package Details」をクリックする

スクリーンショット 2016-11-25 14.27.53.png

画像の赤枠内のGoogleAPIsとGoogleAPIsSystemImageをチェックしてインストール(インストール後に撮ったので、画像内ではインストール済みになっている)。SystemImageはAVDのImageと同じものを指定すればいい。

これでインストール後にエミュレータを再起動すればログが消えているはず。

何故出たのか

AVDManagerからあたらしいVirtualDeviceを作成した時、それまでx86のSystemImageを使っていたけど、x86_64のものをダウンロードして使ったからじゃないかと推測。

4
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
6