Skip to content
Georg Lukas edited this page Aug 3, 2013 · 5 revisions

Yaxim uses git submodules to reference libraries. Eclipse / ADT only support Android libraries if they are projects in your workspace. If you want to develop yaxim using Eclipse do the following:

1. Get the submodules' source code

Open a shell and initialize the git submodules (inside your yaxim project directory):

~/workspace/yaxim $ git submodule init && git submodule update

This should add "MemorizingTrustManager":https://github.com/ge0rg/memorizingtrustmanager and "android-actionbar":https://github.com/johannilsson/android-actionbar

2. Add the submodules as projects in Eclipse

Create a new project for each submodule:

  • File → New → Android Project → Create project from existing source
  • In the field location choose the submodules directory, e.g. ~/workspace/yaxim/MemorizingTrustManager

3. Add the library projects to yaxim in Eclipse

See the "Android SDK docs":http://developer.android.com/guide/developing/projects/projects-eclipse.html#ReferencingLibraryProject for adding library projects.

4. Configure Eclipse

You should set the target SDK version to android-14 (as of 2013-08-02) as this is the version used by the developers, and changing it leads to unexpected side effects (thank you, Android designers!).

Clone this wiki locally