本文介绍了无法解析符号CreateTodoInput的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了使用AWS Amplify CLI构建Android应用程序,我遵循了以下步骤:

In order to build an Android app using AWS Amplify CLI, I followed the steps in:

但是,我必须缺少一些东西.

However, I must be missing something.

Generated GraphQL operations successfully and saved at app\src\main\graphql\com\amazonaws\amplify\generated\graphql
√ All resources are updated in the cloud

按照步骤5:集成到您的应用程序后,我得到:

After following Step 5: Integrate into your app, I get:

cannot resolve symbol CreateTodoInput

找不到这些类:CreateTodoInput,CreateTodoMutation.请帮忙.

None of those classes can be found: CreateTodoInput, CreateTodoMutation. Please help.

推荐答案

刷新gradle并将版本从9更新到10似乎可以解决问题:

Refreshing the gradle and updating the version from 9 to 10 seemed to do the trick:

implementation 'com.amazonaws:aws-android-sdk-core:2.10.0'

这篇关于无法解析符号CreateTodoInput的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-21 06:49