Skip to content

Building From Eclipse

kevinsawicki edited this page Dec 11, 2012 · 10 revisions

The GitHub Android app can be build by a simple running of mvn clean install from the repository's root directory but you may also want to build/launch the projects and this page outlines the extra steps required to do so.

  • Import the app folder as a Android project. The .project included will cause it to have the name com.github.mobile.

  • Create a libs folder at the root of the imported project.

  • Copy the following JAR files to the newly created libs folder:

  • Clone the Android-ViewPagerIndicator repository

    • Checkout tag 2.3.1
    • Import the library folder as an Android project named com.viewpagerindicator
  • Clone the ActionBarSherlock repository

    • Checkout tag 4.1.0
    • Import the library folder as an Android project named ActionBarSherlock
  • Clone the wishlist repository

    • Checkout tag 0.8
    • Import the lib folder as an Android project named wishlist
  • Update the android.library.reference.* paths in the app/project.properties file. Note: this is only required if the relative paths are different than the default values which is dependent on where you've cloned the library repositories relative to the GitHub Android repository.

The com.github.mobile project should now build and be launchable and with no error markers. If you still see error markers try running the Project > Clean... menu and/or restart Eclipse.

Clone this wiki locally