File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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