HelloWorld - Android error?

I created the Hello world application, but I get this strange error:

The project cannot be built until the build path errors are resolved

I did not change the project, but created it and tried to start it.

+5
source share
6 answers

To avoid this annoying problem, I have 3 solutions that worked for me.

Solution 1)

delete the created R.java file inside your gen / folder

Solution 2)

a) Delete your project from Eclipse ( I said ONLY from Eclipse , uncheck: Delete project contents on disk)

b) import the project into Eclipse: file> Import> Existing projects in the Workspace (Look for your project previously deleted from Eclipse)> Finish.

Solution 3)

1, 2

+2

, Eclipse

Scott D. Strader.
, , , Eclipse . , .

( .classpath):

  • Java >
  • , ( ) > OK
  • ( )
  • .

: OP, IDE .


JRE:

JRE . , - .... :

  • >
  • Java
  • ""
  • JRE
+2

, . x, .

+1

, , , Android SDK. - R.java . , "gen" R.java. .

+1

, " ", " " → "Android 2.2" ", "

+1

.

0
source

All Articles