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:
-
Jun 16, 2012, 7:23:47 AM (12 years ago)
- Author:
-
michaelz
- Comment:
-
Build updates to avoid mistakes
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v4
|
v5
|
|
21 | 21 | Start it: [[BR]] |
22 | 22 | The executeable is in the Eclipse directory you just downloaded. |
23 | | It will prompt you for a workspace. You can 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. |
24 | | There may be errors in the projects, because you first need to install the Android plugin. |
| 23 | 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. |
25 | 24 | |
26 | 25 | Install C: [[BR]] |
… |
… |
|
35 | 34 | Add the projects: [[BR]] |
36 | 35 | To tell eclipse that the projects exist, add them to eclipse: File → Import... → Existing projects into Workspace. Selest the android/workspace directory and all projects eclipse automatically finds. |
| 36 | There may be errors in the projects, because you first need to install the Android plugin. |
37 | 37 | |
38 | 38 | |
… |
… |
|
75 | 75 | }}} |
76 | 76 | |
77 | | Enter the install directory in eclipse in Preferences → String Substitution as ndk.root and add a new substitution "ndk.host" with the value arm-linux-androideabi |
| 77 | Enter the root directory of that toolchain (not the sysroot directory) in eclipse in Preferences → String Substitution as ndk.root and add a new substitution "ndk.host" with the value arm-linux-androideabi |
78 | 78 | |
79 | 79 | Currently, only arm is supported. |
… |
… |
|
96 | 96 | Headers/Files generated by build scripts are not marked as derived. |
97 | 97 | 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] |
| 98 | |
| 99 | Build failed with "bad substitution" / Build uses normal gcc instead of the android one. |
| 100 | Be sure to have ndk.root and ndk.host set. |
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!