Can not resolve symbol CreateTodoInput

旧巷老猫 提交于 2019-12-08 08:24:30

问题


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

https://aws-amplify.github.io/docs/android/start?ref=amplify-android-btn

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

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

cannot resolve symbol CreateTodoInput 

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


回答1:


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'


来源:https://stackoverflow.com/questions/54116742/can-not-resolve-symbol-createtodoinput

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!