Install ActionBar-PullToRefresh on eclipse without gradle - android

I'm trying to install the ActionBar-PullToRefresh whithout the gradle. I download the source and I go on Import->Existing Android Code Into Workspace but for a reason I don't know it doesn't let me to import it (see image below). I see other posts and the solution was to import it like this way but for me doesn't work. I'm new and I'm sorry for this dump question. Thanks :)

Because you already have projects named main and MainActivity in your workspace.
Click on every projects path and then click on it's name and change it.

Related

Errors import project Eclipse

I'm trying to deploy my app zoom in Imageview. I downloaded the project https://github.com/sephiroth74/ImageViewZoom but I get errors in Eclipse to do. What am I doing wrong?
ImageViewTouchBase
import it.sephiroth.android.library.easing.Cubic; --> cannot be resolved
import it.sephiroth.android.library.easing.Easing; --> cannot be resolved
You can try some tricks applying for that. Such as
At first complete project download from repository. then try those tricks.
number 1#: File=>Import=>android=>Existing android code Into workspace.
number 2#: Project=>clean..
number 3#: delete folder bin and folder are both.
number 4#: check easing exist or not.(in res/libs folder)
and finally number 5#: Restart eclipse.
I am not sure but i expected you will be get help probably. Best of Luck!
You have't pulled complete code.try to download complete code to fix these errors because these classes/packages are not in your project

I have an android project source code, but eclipse can't detect it to import

-I have this source code of project and i uploaded it on Dropbox.
Project Source Code
-What i want to do to make exlipse to detect it and i import it to my projects list but nothing is showing in detections in both import projects and existing android code
I'm using adt-bundle-windows-x86_64-20140321
I'm sorry if this a noob question and thanks in advance.
I tried it in my pc and it works well. The project is not the problem.
A common mistake is to copy the project in your workspace and try to import it in Eclipse from there. I don't know if it is a bug or not but it won't work.
Try to unzip the project in a folder on your Desktop and try to import it from there. When you select it, check the box "Copy project into workspace" if you want to have it in your workspace folder.
Have you tried to create a new : "Android project from existing source" ?
I suppose you did but to be sure, here is the way to make it :
http://techforpassion.blogspot.fr/2013/03/Eclipse-create-project-from-existing-source.html
Hope this can help

Cannot import google-play-services_lib because the project name is in use

I've done an application which displays a Google map referring this tutorial
http://www.vogella.com/articles/AndroidGoogleMaps/article.html
The application has worked fine and it displayed a Google Map as shown in the tutorial. But now, when I open the project, it shows several errors relating to the import of com.google packages. I've already added the google_play_services_lib. But now, that is not shown in the application. When I try to import the google_play_services_lib again, this error appears,
"Cannot import google-play-services_lib because the project name is in
use"
What is the problem? Please help me.
This generally occurs, if you have a project or folder by the same name existing in your workspace.
In general, You can solve it by changing the name of the existing folder using 'F2' shortcut key. But, since this is a library I recommend you to shift the existing folder "google_play_services_lib" from your workspace directory to somewhere else and then again try and import the "google_play_services_lib" .
this means that google-playservices.lib is using by another projects, you can solve it by.
remove the reference to it from the project which is using it.
OR close that project using eclipse->right click->close.
Remove this project from your workspace then import from your sdk place.
[http://developer.android.com/google/play-services/setup.html#Install]
It seems that when you import google-play-services_lib, Eclipse creates a project by the same name. Even though I deleted manually the google-play-services_lib folder from my workspace folder, I also had to delete the google-play-services_lib project in Eclipse as well. After doing it, I was able to import the lib, and then use it in my project.

Cannot import a project into workspace (no message error)

I have an old Android project sitting in another laptop. I try not to change its contents for when I have to look at its codes. But when I tried to look at it, I cannot seem to import it on my workspace. I do not have any existing project in my workspace. I have also tried deleting my "workspace" folder so I could start anew, but it still won't work. There are no error messages, it just won't import.
The same has happened to me.
The solution was to create a new project, add the classes from the old project and all necessary libs.
Have you experience yourself this solution? I know it is not the most correct, but if consigas not otherwise experience. Can you then know which classes have errors.

Unable to import sample project from sdk

I want to study the sample code in android sdk which is cubelivewallpaper..
So i decided to import it. But it has a problem. i am not able to click finish because it is disabled.. here:
and here is i am trying to import.
Anyone can help me how to import sdk project wihout getting this error?
Thank you..
To import sample project follow the following steps:
Click on File ---> New ---> other, new project wizard will be opened.
Now under android option click on the "android sample project" and press next.
Select the build target e.g. android 4.1 and press next.
Now you will get list of sample projects available. Select the one you want say "CubeLiveWallpaper" and press finish. You are done
That project exists in the sample projects.(CubeLiveWallpaper)
Try Creating a sample project. No need to import it.
You shouldn't import but Create New project from exists derictory and choose this project. Good luck!
As far as I know, the SDK examples aren't Eclipse projects so you can't use the Import function. Whenever I've wanted to try any of the samples, I've created the project manually in Eclipse, and then just copied the contents (res, src and AndroidManifest.xml) from the SDK folder into the new Eclipse project.

Categories

Resources