CesarValiente / quitesleep

Automatically exported from code.google.com/p/quitesleep
7 stars 5 forks source link

compile errors on Eclipse Juno with Android 4.2 #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Hi Cesar,

I tried to get this project into Eclipse but no matter whether I imported it or 
added as a folder the Eclipse would always show tons of compile errors. I also 
tried "Clean" but without any luck. Since I am new to Eclipse I must be doing 
something wrong. Could you please make a step-by-step walkthrough of how to get 
Eclipse to work with this project?

I am using Juno with Android 4.2 under Windows 7. If you need more details, 
please let me know.

Thank you,
Valery

Original issue reported on code.google.com by vpav...@gmail.com on 28 Nov 2012 at 7:27

GoogleCodeExporter commented 9 years ago
Hm ... it requires actionbarsherlock but after I install it R file disappears 
and all the errors I checked were due to the missing R file. I am guessing this 
whole issue may have to do with different version requirements of the 
actionbarsherlock and quitesleep but have no idea what to do next.

Original comment by vpav...@gmail.com on 29 Nov 2012 at 10:28

GoogleCodeExporter commented 9 years ago
Hi Valery,

first thank you very much for download the source code and try to use it!!! 
It's great!! 

Second, sorry for the delay, I've had a really hard deadline at work and I've 
had forgotten to check this website.

It's weird the thing you have, I've tried to download and use it right now in 
Eclipse Juno and I haven't had any problem, the things I've done are:

1- Clone the repo to my local machine
2- Open eclipse, and import the project as Android project (if you have a 
mercurial plugin you can use also import as local mercurial project).
3- Import Action bar sherlock and View pager indicator projects as the same 
way, as local projects in my workspace or as local mercurial projects.
4- You will see quitesleep with errors, then right button, properties and check 
android libraries, then if you don't have action bar sherlock and view pager 
indicator there you have to add both.
5- Then you have to see the project is now ok, if not try to clean it. And if 
is still not working, then let me know again.

I hope this will helpful to you.

Best regards.

Original comment by cesar.va...@gmail.com on 20 Dec 2012 at 12:26

GoogleCodeExporter commented 9 years ago
Hi Cesar,

Thanks for the clarifications.
I will try to follow these steps and let you know the results. My problem
is that I am completely new to Android and when you say "clone the repo"
this already sounds challenging to me :-)

Original comment by vpav...@gmail.com on 20 Dec 2012 at 6:27

GoogleCodeExporter commented 9 years ago
hahaha don't worry, little by little ;-)

With clone the repo I mean, oyu have to clone the mercurial repository of this 
project in your local machine, you can do it using an Eclipse Mercurial plugin 
or easier, using mercurial in your terminal (if you are using Windows you will 
have to download mercurial) with the following command: 

 hg clone https://cesar.valiente@code.google.com/p/quitesleep/ 

And then.... go to the 2nd step ;-)

Best regards.

Original comment by cesar.va...@gmail.com on 20 Dec 2012 at 9:05

GoogleCodeExporter commented 9 years ago
Ohh sorry I've just checked the post, and maybe the clone command is wrong, the 
previous one was the one I have in my checkout tab.. maybe yours is 
different... you can find the command here --> 
http://code.google.com/p/quitesleep/source/checkout

Original comment by cesar.va...@gmail.com on 21 Dec 2012 at 6:01