Reputation: 36
End point service class gives error-inside build-generated-endpoints package-
@Override
public Builder setBatchPath(String batchPath) {
return (Builder) super.setBatchPath(batchPath);
}
Can't resolve method I am using android studio with endpoint migration
Upvotes: 1
Views: 291
Reputation: 106
In your endpoint project add this to build.gradle
appengine {
endpoints {
googleClientVersion = '1.23.0'
}
}
Upvotes: 1
Reputation: 888
I had the same problem with Endpoints Framework V2. I upgraded the google-api-client libraries from 1.22.0 to 1.23.0 in the app build.gradle and the backend build.gradle and the problem went away.
app build.gradle :
compile 'com.google.api-client:google-api-client:1.23.0'
compile 'com.google.http-client:google-http-client-android:1.23.0'
backend build.gradle :
compile 'com.google.api-client:google-api-client-appengine:1.23.0'
Upvotes: 1