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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T15:52:14+00:00 2026-06-07T15:52:14+00:00

I recently started learning about developing in android and now I’m getting an error

  • 0

I recently started learning about developing in android and now I’m getting an error I can’t seem to fix. This is the code that won’t compile because of the Syntax error, insert “enum Identifier” to complete EnumHeaderName error. I suppose it is something trivial, but I can’t find it. Thanks for your help

Edit: Here is the complete code.

Don’t get confused about the functions of the methods, I try different things in this project, so they are not connected to each other.

public class MainActivity extends Activity {
boolean running = false;

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
}

@Override
public boolean onCreateOptionsMenu(Menu menu) {
    getMenuInflater().inflate(R.menu.activity_main, menu);
    return true;
}

public void findRoot(View view){
    EditText ed = (EditText)findViewById(R.id.editText1);
    double base = Double.parseDouble(ed.getText().toString());
    double res = Math.sqrt(base);

    TextView t = (TextView)findViewById(R.id.resultText);
    t.setText(getString(R.string.result_caption) + Double.toString(res));
}


int counter = 0;
final Handler mHandler = new Handler();    
final Runnable mUpdateView = new Runnable(){
    public void run(){
        updateStopWatchView();
    }
};

protected void startStopWatch(){
    Thread t = new Thread(){
        public void run(){
            counter++;
            mHandler.post(mUpdateView);
        }
    };

    t.start();
}

public void updateStopWatchView(){
    //
}
}
  • 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-06-07T15:52:17+00:00Added an answer on June 7, 2026 at 3:52 pm

    Edit: Please upgrade to ADT 20.0.1. The bug has been fixed.


    Just a shot in the dark: Does the Eclipse problems view show “Android Lint Problem” in the Type column of this bug? If so, please open the view Lint warnings and hit the “Remove all” button. Lint sometimes gets confused and takes over Java errors which then stay active even after the bug has been fixed.

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

Sidebar

Related Questions

Ok, so I've only recently started getting serious about learning how to program, and
I recently started learning about ASP.Net MVC and its various features MVC_3_MUSIC_STORE + CODE
Very confused over this. I've just started learning about pointers and have now decided
Recently I've started learning about Contexts in .NET (context-bound, context-agile, message sinks, etc.). Several
I recently started learning JavaFX. At the moment I can't build any JavaFX project
I recently started learning about Chrome Extensions and was taking a look at the
I've recently started learning about .net and the Windows API and I'm currently writting
I've recently started learning C#. I just learned about properties and decided to make
Recently, I started learning some Java. From what I've already learned about JVM it
I have recently started learning about Software as a Service and Cloud computing. Often

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.