android - package name not corresponding to file path? -


so while trying copy google maps sample projects, kept getting error on line

package com.example.mapdemo; 

the error i'm getting is:

package name 'com.example.mapdemo' not correspond file path 'com.example.myname.gps 

i'm relatively new programmer. if explain error means, caused it, , how fix appreciate it. thanks.

if copying complete class project, make sure change package statement match own package name. assume need change first line of class throwing error package com.example.myname.gps


Comments