Reputation: 71
Today I was trying to implement an in-app purchase to my app. I was trying to follow the tutorial from google and it was going fine. In the meantime I was updating some of the SDK's. After all these something somewhere went wrong and all of my Java files gave errors regarding com.google.android.gms. Which was already working fine. I tried;
The error is something like: cannot resolve symbol xxx (adrequest, adview etc)
Lastly, I am using Android Studio 1.2.0 and my dependencies looks like;
dependencies {
compile project(':baseGameUtil')
compile 'com.android.support:support-v4:21.0.3'
compile 'com.google.android.gms:play-services:+'
}
Upvotes: 1
Views: 71
Reputation: 71
I solved this by basically moving my project to a different location and changing GooglePlayServicesClient with GoogleApiClient wherever possible. Now it compiles and works fine, hopefully this will help some other fella. Also this site kind of explains how to update to the new GoogleApiClient.
Upvotes: 1