I have written following code to get location name
package demo.gps.locname; import java.io.IOException; import java.util.List; import java.util.Locale; /
The
should be contained in the node and not the node. That should fix the problem because as of now, you are not requesting for the maps permission.