2b24a913d0758d7f84ace7ee08972f24bc464bb6
wiki/racecommittee-app-environment.md
| ... | ... | @@ -6,7 +6,14 @@ Building the RaceCommittee App has been integrated into the maven build process |
| 6 | 6 | |
| 7 | 7 | ## Android SDK |
| 8 | 8 | |
| 9 | -On all build servers the Android SDK has to be installed. Pick up the [SDK Tools](http://developer.android.com/sdk/index.html) and install them on your server. Set an environment variable _ANDROID_HOME_ pointing to the install directory. It's a good idea to append some of the tools to your path: |
|
| 9 | +Before starting to install the Android SDK: **Your server must be capable of running 32bit binaries.** Otherwise installing and using the SDK will fail with errors similiar to "adb exit code -2: file or device not found". |
|
| 10 | + |
|
| 11 | +On CentOS 6.4 you should issue the following commands: |
|
| 12 | + |
|
| 13 | + yum install libstdc++-4.4.7-4.el6.x86_64 # ensure that x86_x64 stdlib is up to date |
|
| 14 | + yum install glibc.i686 glibc-devel.i686 libstdc++.i686 zlib-devel.i686 ncurses-devel.i686 libX11-devel.i686 libXrender.i686 libXrandr.i686 |
|
| 15 | + |
|
| 16 | +Now we are ready to install the SDK. Pick up the [SDK Tools](http://developer.android.com/sdk/index.html) and install them on your server. Set an environment variable _ANDROID_HOME_ pointing to the install directory. It's a good idea to append some of the tools to your path: |
|
| 10 | 17 | |
| 11 | 18 | PATH=$PATH:$ANDROID_HOME/tools |
| 12 | 19 | PATH=$PATH:$ANDROID_HOME/platform-tools |
| ... | ... | @@ -37,8 +44,6 @@ Install them by |
| 37 | 44 | |
| 38 | 45 | ./android update sdk --no-ui --all --filter 1,2,3,9,11,15,54,56,61,81,86 |
| 39 | 46 | |
| 40 | -**Your server must be capable of running 32bit binaries.** Otherwise installing and using the SDK will fail with errors similiar to "adb exit code -2: file or device not found". |
|
| 41 | - |
|
| 42 | 47 | ## Maven |
| 43 | 48 | |
| 44 | 49 | Currently there is no Maven plugin available for Android 3.2 on the internets (see [Maven Repository](http://mvnrepository.com/artifact/com.google.android/android)). Therefore we had to build the correct plugins by hand and place them into http://maven.sapsailing.com/maven/. |