Google Cloud Endpoint Package Myapi Does Not Exist - Android Studio
I'm trying to add a Google Cloud Endpoint to my Android Application. In my EndpointAsyncTask class I use MyApi importing it like so: import com.example.adamzarn.myapplication.backe
Solution 1:
Check the build.gradle
file in the module where your EndpointAsyncTask
class is located. Make sure the dependency to your backend
module is correct, and ensure there are no conflicts or duplicates. It should be like this:
dependencies {
compileproject(path: 'backend', configuration: 'android-endpoints')
}
This ensures your module can see the backend
module.
See https://github.com/GoogleCloudPlatform/gradle-appengine-plugin.
Post a Comment for "Google Cloud Endpoint Package Myapi Does Not Exist - Android Studio"