This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Android and the fly likes Android: strings.xml automatically shows standalone=“no” Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Android: strings.xml automatically shows standalone=“no”" Watch "Android: strings.xml automatically shows standalone=“no”" New topic

Android: strings.xml automatically shows standalone=“no”

Madhu Nandan
Ranch Hand

Joined: Dec 16, 2010
Posts: 52


I have a strange problem. In the strings.xml file of my project, the first line is <?xml version="1.0" encoding="utf-8"?> But every time I close and open the file, the first line changes automatically to <?xml version="1.0" encoding="utf-8" standalone="no"?> and this I guess is not allowing me to run the project on real phone (it runs on emulator). Though I remove standalone="no" and save the file, it appears again when I open the file.

What is the reason for this and how to overcome this?

Thank you for your time.

I agree. Here's the link:
subject: Android: strings.xml automatically shows standalone=“no”
It's not a secret anymore!