Skip to content

Instantly share code, notes, and snippets.

@kumabotz
Created November 23, 2012 15:30
Show Gist options
  • Save kumabotz/4136132 to your computer and use it in GitHub Desktop.
Save kumabotz/4136132 to your computer and use it in GitHub Desktop.
Build GitHub Android App Using Eclipse

app

  1. Create Android Application.
    • name: ui.user.HomeActivity
    • project: app
    • package: com.github.mobile
  2. Copy master's src, res, assets and AndroidManifest.xml to app project.
  3. Fix source path.
    • Right click src > Build Path > Remove from Build Path.
    • Right click src/main/java > Build Path > Use as Source Folder.
  4. Follow Building From Eclipse wiki.
    • Add 9 jars (remember to check the jars).
    • Clone and check out by tag ActionBarSherlock, Android-ViewPagerIndicator and wishlist (0.6)
    • Right-click project > properties > android > scroll down add reference libraries.
    • Right-click ActionBarSherlock and Android-ViewPagerIndicator projects > Android Tools > Add Support Library... > Accept All > Install (to fix support-android-v4).
  5. Run.

integration-tests

  1. Create Android Test Application.
    • name: integration-tests
    • Test app project.
  2. Copy master's src, res, assets and AndroidManifest.xml to integration-tests project.
  3. Fix source path.
    • Right click src > Build Path > Remove from Build Path.
    • Right click src/main/java > Build Path > Use as Source Folder.
  4. Run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment