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
已提问 4 年前187 查看次数
1 回答
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

已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则