Using GSON with proguard enabled
My code works perfectly without proguard, but GSON doesn't work when proguard is enabled. This is the part of code where it doesn't works JSONArray mensaje = response.getJSONArray("categorias"); // Parsear con Gson Categorias[] categorias = gson.fromJson(mensaje.toString(), Categorias[].class); Log.d("mainfragment","desc categoria "+categorias[0].getDescripcionCategoria()); mainfragment's log prints null # Output D/Dato categorias﹕ Respuesta: {"categorias":[{"idCategoria":"22","imagenCategoria":"ic_aseguradora","descripcionCategoria":"Aseguradoras"},{"idCategoria":"24","imagenCategoria":"ic