hello when I import this library in android studio import com.google.gson.Gson; It tells me that cannot resolve symbol gson I looked for it with the sdk manage in the google part and I can't find it, what could it be? I leave the build.gradle, I don't know if it has to do with the sdk.
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "aplicacionesmoviles.tp"
minSdkVersion 18
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
You have to add the dependency to Gson in your
build.gradle
All the best.
There is the @Puas option or you can also import the .jar and add it in Project Structure in Android Studio. I recommend this page to download libraries: https://javalibs.com/ Regards