Solved

Eclipse and OneDrive

Posted on 2014-09-05
6
1,255 Views
Last Modified: 2014-09-25
Hello,

I'm new to programming and I'm trying to figure out how to jump from computer to computer.  I have my project code saved and stored in OneDrive, but it's been causing all sorts of issues.  The current issue I'm having is "Failed to read the project description file", so I can't even open the project.

That is the main issue.  The secondary issue is I'm doing the MyFirstApp, but I can't figure out what I missed in the code.  When I type something in the box on the running program and hit Send, the second activity opens, but does not display the text string.  I hope this makes sense! :P

Any suggestions?
0
Comment
Question by:Scott Thompson
  • 3
  • 3
6 Comments
 
LVL 17

Expert Comment

by:Chris Harte
ID: 40307538
Eclipse uses a workspace, this is where your source code and all the project metadata is stored. If you are jumping between computers you have to back up your whole project (not just the source code) on one computer, then import it on the other.

File -> Import... -> Existing Project into Workspace

You may be able to use OneDrive as your default workspace for both computers, but I have never tried that.  Should be worth trying. Let us know if it works.

File->Switch workspace->other



The second issue is a separate question and we would need to see some code to give any help.
0
 
LVL 8

Author Comment

by:Scott Thompson
ID: 40307666
Okay, here's what I get when I try to File, Import, Existing Project into Workspace.

Eclipse ImportFailed Import
0
 
LVL 17

Expert Comment

by:Chris Harte
ID: 40310197
That looks broke. Two further options, and we are getting close to starting again,

File->new project

then chose 'Android project from existing code' and import your existing code;

OR

remove the .metadata directory from your workspace so that it has to be rebuilt.

Have you tried setting your OneDrive as the default workspace?
If yes have you set the permissions to allow eclipse to access it?

Since this is your first project I am going to assume it is not that big. It may be easier to get eclipse working with a network drive as a workspace and manually copying your code into a new, working, project.
0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 8

Author Comment

by:Scott Thompson
ID: 40317103
Okay, I renamed the .metadata folder and it rebuilt it upon opening Eclipse.  However, when I go to File, New Project, Android Project From Existing Code; I'm still getting an error.  It's different this time.

Eclipse Fail 3Eclipse Fail 4
OneDrive is set as the default workspace.  I have Eclipse run as administrator, other than that I don't know what you mean by setting permissions for it to be able to access my files.
0
 
LVL 17

Accepted Solution

by:
Chris Harte earned 500 total points
ID: 40317251
By permissions I mean read/write access to the OneDrive. Running as admin should cover it.

Others have been having a problem running a workspace from a network drive and it was once logged as a bug

http://www.eclipse.org/forums/index.php/t/612569/
https://bugs.eclipse.org/bugs/show_bug.cgi?id=331024

A solution would be copy your workspace from computer to computer, via the OneDrive, but run the workspace locally. Not ideal but I do not think anything else will work.

Here is a thread on rebuilding android projects in eclipse
http://stackoverflow.com/questions/5784652/eclipse-invalid-project-description-when-creating-new-project-from-existing-so
0
 
LVL 8

Author Closing Comment

by:Scott Thompson
ID: 40344490
I'm just redoing the project on one computer and not trying to use OneDrive.  Perhaps we will find a solution later.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need a good Angular tutorial 5 81
app permissions on phone 2 54
Syncing android phone with pop three account 3 33
see android hidden files 10 32
A short article about problems I had with the new location API and permissions in Marshmallow
Learn how ViaSat reduced average response times for IT incidents from 10 minutes to 30 seconds.
This video is in connection to the article "The case of a missing mobile phone (https://www.experts-exchange.com/articles/28474/The-Case-of-a-Missing-Mobile-Phone.html)". It will help one to understand clearly the steps to track a lost android phone.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question