2

I'm new for android. I try to write HelloAnroid but when I run the program, there are two errors.

1. Unable to open class file C:\Documents and Settings\Administrator\workspace\HelloAndroid\gen\com\example\helloandroid\R.java: No such file or directory
2. Error generating final archive: Debug Certificate expired on 22/11/2497, 2:29 น. 

I don't know why it happens. please help me with these errors.

1
  • That second error happened to me too. You have to go into where Eclipse stores the Debug certificate and delete it. When you try to build again, Eclipse should generate a new, valid certificate. Commented Dec 4, 2010 at 21:51

3 Answers 3

2

You might see the answer here and as for "Error generating ..." see the answer here.

Sign up to request clarification or add additional context in comments.

Comments

0

You need to compile the build and make sure your SDK is setup properly.

Comments

0

right click the project . go to properties.select java build path.click on the android sdk version.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.