Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7661835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:39:14+00:00 2026-05-31T13:39:14+00:00

My XML files are showing the ANT icon in my eclipse and not allowing

  • 0

My XML files are showing the ANT icon in my eclipse and not allowing me to build as layout files for an Android project. Any idea how to disassociate my Android XML files from ANT?

For example…when I create an “appwidget-provider” from the menu options and am left with the start and end tag to build my file I get this error from this stub:

Unexpected element "{}appwidget-provider"
{antlib:org.apache.tools.ant}appwidget-provider

<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android" >



</appwidget-provider>

Strange thing is that I can create this file outside of Eclipse, for example in Notepad and then save it to my project in the appropriate folder and it will open fine in Eclipse this way with no error.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T13:39:15+00:00Added an answer on May 31, 2026 at 1:39 pm

    File associations are in Preferences > General > Editors > File Associations (on a Mac, Preferences is under the Eclipse menu. Not sure where it is on Windows or Linux).

    Most likely you have a *.xml in there only associated with Ant Editor or Ant Editor is set as the default.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a series of complicated XML files from Amazon showing order reports. A
Recently Eclipse started showing this error in its Error Log: Error validating C:\android-sdk-windows\tools\lib\devices.xml I
In my code i'm using and XML file for showing a view in Android.
I'm working on a blackberry project using eclipse and bb-ant tools. I've created a
I have to process XML files that have a DTD with a XSLT in
I need to edit XML files on a small Linux box that we have
Suppose I have two XML files. First XML File: <?xml version=1.0?> <AccessRequest xml:lang=en-US> <AccessLicenseNumber>Your_License</AccessLicenseNumber>
I have two XML files that are generated by another application I have no
We have about 1400 xml files which we use to store data around the
I have some xml files that contain text, which are displayed on my website.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.