Value 'debug GraphQL source'

0

After following the getting started guide for integrating my android application with AWS from https://aws.amazon.com/blogs/mobile/building-an-android-app-with-aws-amplify-part-1/
, the build of my app is now failing with issues " ERROR: Value 'debug GraphQL source' specified for property '$2' cannot be converted to a file."

Environment
Appsync SDK version 2.6.+
gradle version 5.4.1
android studio 3.5

I have installed AWS amplify CLI and configured it accordingly.
After following the above tutorial I am stuck with this . Kindly consider my issue and revert back as soon as possible.

dcm
asked 4 years ago183 views
1 Answer
0

I solved it setting the specific version in project level build.gradle:

classpath 'com.amazonaws:aws-android-sdk-appsync-gradle-plugin:2.8.2'

Also check the last comments of this GitHub thread: https://github.com/awslabs/aws-mobile-appsync-sdk-android/issues/91

answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions