I am need to use JacksonFactory for my program but the dependency not working that I found implementation group: 'com.google.api-client', name: 'google-api-client-jackson2', version: '1.31.3'
it work only in version 1.20.0 but when I use this version Android Studio ask me to update the version and return an error.
My code is private static final JsonFactory JSON_FACTORY = JacksonFactory.getDefaultInstance();
Please help me out!
JacksonFactory
is deprecated. Use GsonFactory.getDefaultInstance()
from google-api-client-gson
instead.