Gson Array of Strings to JsonArray
Seems like you should make a new JsonPrimitive("value1")
and add that.
See The javadoc
You can create a primitive that will contain the String value and add it to the array:
JsonArray jArray = new JsonArray();
JsonPrimitive element = new JsonPrimitive("value1");
jArray.add(element);