Trac is being migrated to new services! Issues can be found in our new
YouTrack instance and WIKI pages can be found on our
website.
- Timestamp:
-
May 2, 2013, 9:26:26 AM (11 years ago)
- Author:
-
michaelz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v11
|
v12
|
|
13 | 13 | === get the source === |
14 | 14 | |
15 | | Check out the Android branch soc.2012.android from the [http://hg.pidgin.im/soc/2012/michael/android/ android repository] into a new working directory. |
| 15 | Open the file ~/.hgrc and add the subrepository mapping: |
| 16 | {{{ |
| 17 | [subpaths] |
| 18 | (ssh|http)://hg.pidgin.im/soc/2012/michael/manuk/jpurple-build/build/pidgin = \1://hg.pidgin.im/soc/2012/michael/android/ |
| 19 | }}} |
16 | 20 | |
| 21 | Then, create a new, empty working directory where you want your workspace to be. Clone the [http://hg.pidgin.im/soc/2012/michael/manuk/ manuk-Repository] there: |
17 | 22 | {{{ |
18 | | hg clone http://hg.pidgin.im/soc/2012/michael/android --branch soc.2012.android |
| 23 | hg clone http://hg.pidgin.im/soc/2012/michael/manuk/ . |
19 | 24 | }}} |
| 25 | |
| 26 | This repository contains the java projects required to build the Android application and also contains the [http://hg.pidgin.im/soc/2012/michael/android/ repository containing libpurple] as subrepo. |
20 | 27 | |
21 | 28 | === Eclipse === |
… |
… |
|
25 | 32 | Start it: [[BR]] |
26 | 33 | The executeable is in the Eclipse directory you just downloaded. |
27 | | It will prompt you for a workspace. You can choose android/workspace subdirectory in the Android branch, or any other directory you like. The worksapce appears to be empty because eclipse does not know that there are already projects in it. |
| 34 | It will prompt you for a workspace. You can choose the directory you cloned the repository to, or any other directory you like. The workspace appears to be empty because eclipse does not know that there are already projects in it. |
28 | 35 | |
29 | 36 | Install C: [[BR]] |
… |
… |
|
38 | 45 | |
39 | 46 | Add the projects: [[BR]] |
40 | | To tell Eclipse that the projects exist, add them to Eclipse: File → Import... → Existing projects into Workspace. Select the android/workspace directory as root directory and then all projects Eclipse automatically finds. |
| 47 | To tell Eclipse that the projects exist, add them to Eclipse: File → Import... → Existing projects into Workspace. Select the repository root directory as root directory and then all projects Eclipse automatically finds. |
41 | 48 | There may be errors in the projects, because you first need to install the Android plugin. |
42 | 49 | |
… |
… |
|
122 | 129 | This is not possible in Eclipse. See Eclipse bug [https://bugs.eclipse.org/bugs/show_bug.cgi?id=150578 150578] and [https://bugs.eclipse.org/bugs/show_bug.cgi?id=30440 30440] |
123 | 130 | |
124 | | Build failed with "bad substitution" / Build uses normal gcc instead of the android one. |
125 | | Be sure to have ndk.root and ndk.host set. |
| 131 | Build failed with "bad substitution" / Build uses normal gcc instead of the Android one. |
| 132 | Be sure to have ndk.root and ndk.host set to the right values. |
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!