I am following the AWS docs, here. I am able to add everything into my project's build.gradle
, AndroidManifest.xml
, and app's build.gradle
EXCEPT for the apply plugin. When I add:
apply plugin: 'com.amazonaws.appsync'
I get the following error:
Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id 'com.amazonaws.appsync']
How do I fix this? When I remove the apply plugin from the app's build.gradle
, then my app works again.
Did you try updating you gradle version and is your android studio also in the latest state, follow this thread and also update your question with the project's build.gradle file