I use: Android studio 1.5 Java JDK 1.7 windows 7 Intel HAXM driver
I created a default google map activity with studio and I tried to run with but I get a message to upgrade my google servies.
As I read to documentation of android studio I have to set
compile 'com.google.android.gms:play-services:8.3.0'
on gradle in section dependencies. This was set by default.
I don't think that the problem is on my code but in emulator's configuration. I strongly believe that the problem start from my android sdk packages but it is not possible to make any mistake. I test the same project in Linux OS that I have install android Dev environment and there is no problem at all. Google maps works.
I installed next packages From tools:
- Android SDK Tools
- Android SDK platform-tools
- Android SDK Build-tools
From Android 6.0(API 23)
- Everything except ARM, Wear and TV packages.
From Extra:
- Android Support Repository
- Android Support Library
- Google Play services
- Google Repository
- Google USB Driver
- Intel x86 Emulator Accelerator(HAXM installer)
Next I create AVD from android studio:
- I choose a device definition one from default
- Then system image API level 23 with ABI x86 and target Android 6.0 (with Google APIs) but automatically selects android 6.0 without Google APIs