?
Solved

Eclipse and OneDrive

Posted on 2014-09-05
6
Medium Priority
?
1,381 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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 1000 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Simple Linear Regression
Suggested Courses

801 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