So I just installed the latest version of Android Studio and trying to simply get the Google Play app working on my Google Pixel XL. I went ahead to my app/build.gradle
file and added the following line:
compile 'com.google.android.gms:play-services:10.2.0'
So that it looks like this:
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.3.0'
compile 'com.google.android.gms:play-services:10.2.0'
}
I synced my gradle. I also went to Tools -> Android -> SDK Manager. Once the window opened, I went to SDK Manager (already highlighted) -> SDK Tools (tab), and under Support Repository, I see that Google Repository is already selected and Installed. I also selected "Google Play Services" a little further up.
The minute I started my AVD, I tried to go to the app drawer and I still did not see Google Play in there.
Can someone please tell me what I'm missing here? It seems like these steps work for everyone, but obviously either I'm missing something, or there's some update that requires an extra step or something.
I also restarted Android Studio and tried to find Google Play in my AVD with no success.