ahorn / android-rss

Lightweight Android library to parse RSS 2.0 feeds.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flag --library is not valid for update lib-project

kepi opened this issue · comments

commented

Hi, I just want to try your library and it seems I'm not able to install it. It gives me error:

Error: Flag '--library' is not valid for 'update lib-project'.

I just today upgraded SDK Tools to revision 12. Maybe this is source of problem.

android -h update lib-project gives me:

Options:
  -p --path     The project's directory [required]
  -t --target   Target ID to set for the project

Thanks for help

commented

It seems here is solution: http://stackoverflow.com/questions/5652884/building-android-projects-that-reference-library-projects-with-ant

Looks like instead of update lib-project you have to call update project. I'm leaving issue open as it is probably good idea to update README with this. Thanks.

Thanks for this. What happens when you use the -p, -l and -t options (see "Project actions and options" section in [1])?

[1] http://developer.android.com/guide/developing/tools/android.html

commented

-p -l and -t for project-update is IMHO only shrotcut to --path --library and --target as I used it. anyway android update-lib-project as mentioned on the page you referenced isn't available.

Correct way for SDK tools above revision 10 is probably:

android update project \
    --target <target_ID> \
    --path path/to/your/project \
    --library path/to/android-rss

Thanks. This has been fixed now.

3910aec

Thank you very much. You save my time