RBJ
RBJ

Reputation: 971

How to resolve build path errors?

If I run my project this error will come build path problem how to solve this error.

error:

  1. Description Resource Path Location Type Project 'videothumb' is missing required source folder: 'gen' videothumb Build path Build Path Problem
  2. The project cannot be built until build path errors are resolved videothumb Unknown Java Problem

Can any one help me?

alt text

Upvotes: 10

Views: 54334

Answers (5)

chikka.anddev
chikka.anddev

Reputation: 9629

The problem is because of your Android build path settings. Try to check:

Window > Prefereces > Android > Build path

it should properly set to your Android SDK

Upvotes: 0

dbm
dbm

Reputation: 10485

EDIT:
I just noticed that, according to your screenshot, the problem seems to be that the adb tool is not found. Now I might be wrong but I think that as of Android 2.3 (maybe even earlier) the adb tool is expected to be in [path-to-your-sdk]/platform-tools folder, not in the [path-to-your-sdk]/tools folder. The later path was used in earlier SDK's and your problem might be caused by such a simple thing that you have an outdated Android plugin in Eclipse.

OLD, IRRELEVANT ANSWER:
I've seen these kind of issues in Eclipse environments when I have some kind of error in my XML files. Malformed errors (that violate the rules of the XML structure) are often treated as "syntax errors" and are shown directly when you write them or when you try to build your application.

Other errors, however, like giving invalid references (giving a dimension where an integer is expected, for example) are not always highlighted with file name and failing line number (I'm not sure if this is bug in Eclipse's android plugin or even if it's a bug at all).

These kind of errors you'll have to hunt down manually and rebuild your project (as dcave555 sugested). This is really boring work if you have many XML files with many changes in

Upvotes: 1

springrolls
springrolls

Reputation: 1331

I think the path should look like this: /home/embdes/projects/android/android-sdk-linux_86

Upvotes: 0

Harry Joy
Harry Joy

Reputation: 59694

IF you are using eclipse then do as follows:

  1. right click your project.
  2. select build path-->configure build path.
  3. update all the broken links in all 4 tabs.
  4. Go to project-->clean [project will be found at top menu of eclipse.]
  5. Clean your project.

Its done. For any further explanation comment on my answer.

Hope this helps.

Edit:

Here you go:

alt text

As you can see i'm at source tab of configure build path and i have only one folder here named ATalk/Src. likewise you can have number of folders.

Check for red cross mark on folder. if its there then your folder path is wrong means link is broken for that folder.

Same way you can check in Libraries tab. There you will find list of jars in your project. If any of them have red cross then its path is missing. So update all such red cross paths.

As you can see i dont have a red cross on my folder means it is at correct location.

Hope you get my point.

Upvotes: 7

dcave555
dcave555

Reputation: 904

Try to clean project and if it still doesn't help close and then open project.

Upvotes: 12

Related Questions