-
Notifications
You must be signed in to change notification settings - Fork 0
Building From Eclipse
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
appfolder as a Android project. The.projectincluded will cause it to have the namecom.github.mobile. -
Create a
libsfolder at the root of the imported project. -
Copy the following JAR files to the newly created
libsfolder: -
Clone the Android-ViewPagerIndicator repository
- Checkout tag
2.3.1 - Import the
libraryfolder as an Android project namedcom.viewpagerindicator
- Checkout tag
-
Clone the ActionBarSherlock repository
- Checkout tag
4.1.0 - Import the
libraryfolder as an Android project namedActionBarSherlock
- Checkout tag
-
Clone the wishlist repository
- Checkout tag
0.8 - Import the
libfolder as an Android project namedwishlist
- Checkout tag
-
Update the
android.library.reference.*paths in theapp/project.propertiesfile. 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.