1

I am trying to use Android Vault API to get data from Contentful. https://github.com/contentful/vault

However, when I call requestSync(), get an error that helper classes could not be generated. Does anyone have a same problem?

I am using gradle version 7.0.0 and Android studio version 2020.3.1

Here are dependencies for vault:

annotationProcessor 'com.contentful.vault:compiler:3.2.5'
annotationProcessor 'com.contentful.vault:core:3.2.5'
implementation 'com.contentful.vault:core:3.2.5'
Vatsal Dholakiya
  • 545
  • 4
  • 19
A.jiji
  • 226
  • 3
  • 6

1 Answers1

0

If you are using Kotlin then you might have to replace annotationProcessor with kapt. Make sure you also have the required kapt plugin.