-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eclipse reports error: "Default target help does not exist in this project" #2
Comments
Oscar writes: After some experimentation I managed to reproduce the problem you are having. The issue lies not with your code but with git and the rss library. Unfortunately, the essential .project file is not being committed so the library is not recognised by Eclipse. By generating a .project I was able to link the library to another project. You can use the gui method to link libraries (I find it easier):
The proper .project file is needed for this to work because there were too many dependency errors from the generated .project to run the code. I did not test the command line method but I presume it would also work. If you still get errors:
|
Thanks for having investigated the issue. I've updated the README accordingly [1]. [1] b3c1fe2 |
Hi First I created a project with a command android create project .... first it gave me an error as follows after that while building it gives error like |
See http://code.google.com/p/rosjava/issues/detail?id=76. Please describe the changes that you had to make so that I can merge them into the master branch. |
android update project open the project.properties and see if it is same as below okay I came across the link and wondering where to add the given patch file please let me know how to resolve this |
I expect you'll have to tinker with the build.xml file [1]. I won't be able to advise what exact changes are needed but I would be happy to merge your patch if you can resolve the issue yourself. [1] https://github.com/ahorn/android-rss/blob/master/build.xml |
Hervé Piedvache wrote:
I would like to use your android-rss library which seems to give me exactly
what I want to do ... but i'ts my first Android development with external
class. I'm a little lost ... may be you will solve this in two seconds ...
I have just start a new project ... nothing inside for the moment ... and want
to start integrating android-rss ...
So I have followed your instructions to reference this lib with my project :
./android update project -p ~/workspace/FootcowBlog/ -l ~/sources/android-rss/
-t 8
Resolved location of library project to: /home/herve/sources/android-rss
Updated default.properties
Updated local.properties
File build.xml is too old and needs to be updated.
Updated file /home/herve/workspace/FootcowBlog/build.xml
Updated file /home/herve/workspace/FootcowBlog/proguard.cfg
Nothing special here ... except that I get a build.xml file (attached) and
Eclipse said : Default target help does not exist in this project ...
I have tried to defined a target ... default one uncommenting "-pre-build" and
replace "help" by this ... running but when I just copy the 3 examples line
you gave :
RSSReader reader = new RSSReader();
String uri = "http://feeds.bbci.co.uk/news/world/rss.xml";
RSSFeed feed = reader.load(uri);
RSSReader is not found ... and I can't see what to include anywhere to solve
this, I mean I'm sure there is import to do ... but after a build, I don't see
any class ...
Could you please give me an answer about this ...
The text was updated successfully, but these errors were encountered: