GeeCON Prague 2014*
The moose likes Android and the fly likes Not sure whats wrong in my main.xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Android
Bookmark "Not sure whats wrong in my main.xml file" Watch "Not sure whats wrong in my main.xml file" New topic
Author

Not sure whats wrong in my main.xml file

Tom Mordon
Ranch Hand

Joined: Apr 26, 2012
Posts: 30
I'm trying to get google maps v2 to work. The problem is in the main.xml file. It doesn't like line 3 in the main.xml file: xmlns:map="http://schemas.android.com/apk/res-auto" any thoughts I thought it should be fine since this is part of the node that tells it the map is ok. At a loss at this point any suggestions?

Its giving me the error message: "Unexpected namespace prefix "xmlns" found for tag fragment"




java activity file:



Manifest file:
Bill Mote
Ranch Hand

Joined: Feb 04, 2010
Posts: 44
Tom Mordon wrote:It doesn't like line 3 in the main.xml file: xmlns:map="http://schemas.android.com/apk/res-auto"


I have a working example of maps v2 and I do not have that line in my layout XML.
 
GeeCON Prague 2014
 
subject: Not sure whats wrong in my main.xml file