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 6372067
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:11:03+00:00 2026-05-25T01:11:03+00:00

This morning when I opened up Eclipse to work on an Android project I

  • 0

This morning when I opened up Eclipse to work on an Android project I got an error inside the R.java file.

I know what the error is, but I can’t seem to grasp how to fix it ;\

The code where the error is:

public static final class string {
    public static final int =0x7f040010;
    public static final int app_name=0x7f040000;

As you can see, the first field doesn’t have a name and that gives an error of course.

Problem is when I delete the file and it’s auto generated again, the error is still there.
If I try to manually change or delete the field it doesn’t help. Still an error.

Tried to restart Eclipse – no difference. Tried to clean up the project and I’ve tried to “fix project properties” from the Android tools menu.

Anyone? It’s really annoying as I can’t continue with my project. I might have to delete the project and copy the classes, xml and drawables, but I’d rather not – hate doing cumbersome work :S

  • 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-25T01:11:03+00:00Added an answer on May 25, 2026 at 1:11 am

    The problem is most likely with the strings.xml file. When you build the project that file is compiled into the R.java resources class. So check your strings.xml file carefully and as there is most likely an issue there that is causing this compilation error.

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

Sidebar

Related Questions

I imported this morning following JAVA-Libary to my Android-Project: JSON-Libary I imported it over
When I opened up Visual Studio 2010 this morning, my Menu Bar (you know,
I've spent this morning searching google for this, but I just can't get what
Since this morning Maven can not build any project that requires tomcat-maven-plugin. I tried
I started a new project this morning and, after putting ~3 hours of work
This morning, when I tried to add a new ASPX page to my project,
Launched Eclipse Indigo on Windows XP SP3 this morning and noticed it was taking
We've been bashing our heads off of this one all morning. We've got some
Came into work this morning and found this new window popping up in my
I work with a lot of monochrome image data and this morning I noticed

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.