Build path incomplete only in some workspaces (Android)

前端 未结 8 2431
天命终不由人
天命终不由人 2020-12-05 07:39

I have multiple Eclipse (3.52 \"Galileo\") ) workspaces so that I can keep related projects together in the same workspace. I switch between them with File > Switch Worksp

相关标签:
8条回答
  • 2020-12-05 07:54

    In my case this issue happens after I install ADT manually by downloading .zip instead install from ADT site.

    I solve the issue by right click on project -> Java Build Path. You'll see Android XXX, Android Dependencies, Android Private Libraries, Expand and click on Native library location (None), click edit button on right side then add path to ADT folder on eclipse on Location Path. Restart eclipse to complete

    0 讨论(0)
  • 2020-12-05 08:02

    Right click on the project in the Eclipse 'Package Explorer'. Then from the drop down menu find 'Android Tools'. From the sub menu select 'Fix Project Properties'. It works wonders.

    0 讨论(0)
  • 2020-12-05 08:03

    For those encountering this error while using Maven:

    1. Right click on the project, Build Path -> Configure Build Path...
    2. Select the libraries tab. If Maven dependencies is not in the list, you have identified the problem.
    3. Close the dialog.
    4. Right click on the project, Maven -> Disable Maven Nature
    5. Right click on the project, Configure -> Convert to Maven Project.
    0 讨论(0)
  • 2020-12-05 08:07

    Close Eclipse and run the below command from the terminal:

    $ mvn clean eclipse:clean eclipse:eclipse
    
    0 讨论(0)
  • 2020-12-05 08:09

    Right click on the project, Maven->Update Project Will Solve the Problem

    0 讨论(0)
  • 2020-12-05 08:12

    This may be a little late to help you, but in case others are looking, here's how I fixed it:

    Right click on your project and select ‘Properties’. Then select ‘Java Build Path’, and the Library tab. Look for a JVM. If one is not there (broken link from your copied project), click ‘Add Library’ and add the default JVM. If a VM is there, select it and hit ‘Edit’ and reselect the default JVM. This should reestablish that link and fix the problem. Hope this helps.

    0 讨论(0)
提交回复
热议问题