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.

Changes between Version 11 and Version 12 of GSoC2012/Android/compiling


Ignore:
Timestamp:
May 2, 2013, 9:26:26 AM (11 years ago)
Author:
michaelz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GSoC2012/Android/compiling

    v11 v12  
    1313=== get the source ===
    1414
    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.
     15Open 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}}}
    1620
     21Then, 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:
    1722{{{
    18 hg clone http://hg.pidgin.im/soc/2012/michael/android --branch soc.2012.android
     23hg clone http://hg.pidgin.im/soc/2012/michael/manuk/ .
    1924}}}
     25
     26This 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.
    2027
    2128=== Eclipse ===
     
    2532Start it: [[BR]]
    2633The 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.
     34It 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.
    2835
    2936Install C: [[BR]]
     
    3845
    3946Add 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.
     47To 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.
    4148There may be errors in the projects, because you first need to install the Android plugin.
    4249
     
    122129 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]
    123130
    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.
     131Build 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!