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.

Swati Garg
  • 801
  • 1
  • 9
  • 21
ewoke
  • 21
  • 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. – Brandon Dec 04 '10 at 21:51

3 Answers3

2

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

Community
  • 1
  • 1
StanislavK
  • 1,962
  • 15
  • 16
0

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

Simon
  • 1
0

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

Jithin
  • 1,065
  • 2
  • 13
  • 21