Android / Eclipse moves workspace from one computer to another computer

https://stackoverflow.com/questions/766350/... I followed these instructions but did not know which file to select after checking the project properties.

Properties> Libraries (Unable to get the system library for the project, Access rules: no rules defined, Location of the source library: (No))> Add external JAR> program file> java> jre6 is lib or bin, what should I do after that?

Errors:

Description Resource Type Path Type The project was not built because its build path is incomplete. Cannot find class file for java.lang.Object. Fix the build path, then try to create this project. Unknown Java issue. The project has not been built since its creation. The build path is incomplete. Cannot find class file for java.lang.Object. Correct the build path, then try to create this project. Unknown Java problem. The type java.lang.Object cannot be resolved. This indirectly refers to the required .class files. The java.lang.Object type cannot be resolved. This is indirectly referenced from required .class files. Cannot resolve target 'android-8'. Unknown problem with Android target. The android-8 problem could not be resolved before the SDK was downloaded. Unknown problem with Android target. Failed to solve the target "Google Inc .: Google API: 8". Unknown Android Target. Unable to solve the target "Google Inc .: Google API: 8" until the SDK is loaded. Unknown Android Target Issue

+7
source share
2 answers

One solution is to simply import the project. Then clean, if this does not work, delete the project, and then import again. I assume that you are pushing a copy of the content to local when you import.

Another solution is to create a new project for Android and select a project from an existing source.

No matter which solution is used, you still sometimes have to do this several times to make it work ...

+1
source

Here are a few steps. If you want to move your project from one computer to another, hope for this help. When you copy a Pen drive or hard drive, follow these steps:

  • Open Eclipse and switch to Workspace1 using Switch to Workspace ...
  • Check projects in Workspace1
  • Switch to another workspace to make sure that Workspace1 is completely closed by Eclipse (critical step!)
  • Close eclipse
  • Copy Workspace1 and name the copy Workspace2
  • Copy workspace2 to a USB flash drive
  • Copy Workspace2 from the USB drive to the hard drive of another computer.
  • Open Eclipse on a new computer
  • Switch to Workspace2 with Switch To Workspace ...

Projects usually open with Eclipse on any machine, as if this workspace was there all the time. A critical step to switch to another workspace before exiting Eclipse. If you skip this step, the copied and transferred workspace is not opened correctly.

0
source

All Articles