I am creating an android application using android studio. I want to use the following dependence \'com.google.gson:gson:2.8.5\'. I add it into my build.gradle of my app but
The groupID should be com.google.code.gson instead of com.google.gson.
implementation 'com.google.code.gson:gson:2.8.5'
Change it to the above, resync the project, and the error should go away.