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 know virtually no java but i'm trying to learn some for this project.
When I opened up Visual Studio 2010 this morning, my Menu Bar (you know,
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,
We've been bashing our heads off of this one all morning. We've got some
Up until this morning Eclipse has always had the console tab open upon startup
I am just doing a little work this morning making some static libraries. Why
It's just a stupid question that I had this morning : Can we use
This morning, there were big problems at work because an SNMP trap didn't go

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.