Ian Vink
Ian Vink

Reputation: 68740

Android HelloWorld Build Path error

On my Mac I installed Eclipse, the SDK and created a new project, then hit build expecting to see my first helloworld app.

I got the error "the project cannot be built until build path errors are fixed".

After going thru all the path-like options in Preferences, I noticed that on the tab "Java Build Path" the "Google APIs [Android 2.2]" option did not have its check box checked.

Checking it made the problem go away.

It works now and I can see the app in the Emulator

Have I not set up my environment correctly? I used all the defaults in Eclipse and the Android SDK.

Upvotes: 0

Views: 4894

Answers (2)

Sami
Sami

Reputation: 757

On the Eclipse menu: Project->Clean, then clean you project.

Upvotes: 3

Ian Vink
Ian Vink

Reputation: 68740

Check off the Java Build Path for all boxes.

Upvotes: 0

Related Questions