My gps is not working

I am using apm 2.8. It not detecting the gps. When I upload aduplane it deleted the gps the blue light started blinking. But when I use arducopter it doesn’t detecting it. I am using ubox neo 8m gps . Please someone help??