This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not sure whats wrong in my main.xml file
 
Similar Threads
it doesn't shows location details
Layouts, bottom position
Maps are not show in Emulator
Hashmap in android
Dynamically replacing Fragments