Previous people have had the same error message, but the solution has always been to remove or modify some import \"android.R\". I have no such import so I\'m really lost
I have three ways that help me to solve this problem, may be it works for you.
import com.example.mapssample.R;