From: jiri hubacek Date: Mon, 16 Feb 2015 17:10:39 +0000 (+0100) Subject: Build with last Android SDK works with aapt workaround. X-Git-Url: https://rtime.felk.cvut.cz/gitweb/orte.git/commitdiff_plain/fbbb0afbd159026c7bfa7af8350185e7f170a3ef Build with last Android SDK works with aapt workaround. --- diff --git a/orte/contrib/shape_android/AndroidManifest.xml b/orte/contrib/shape_android/AndroidManifest.xml index 2aa7a53..95c100a 100644 --- a/orte/contrib/shape_android/AndroidManifest.xml +++ b/orte/contrib/shape_android/AndroidManifest.xml @@ -6,7 +6,7 @@ + android:targetSdkVersion="21" /> diff --git a/orte/contrib/shape_android/README b/orte/contrib/shape_android/README index 3de4b31..c5670da 100644 --- a/orte/contrib/shape_android/README +++ b/orte/contrib/shape_android/README @@ -5,8 +5,8 @@ Shape for Android is a demonstration application delivered with ORTE source code How to create shape_android.apk ----------------------------- -1] Update Android SDK to include Android 4.0.3 (API 15) -/tools/android update sdk --no-ui --all --filter android-15 +1] Update Android SDK to include last Android 5.0.1 (API 21) +/tools/android update sdk --no-ui --all --filter android-21 2] Clone ORTE project from git git clone git://rtime.felk.cvut.cz/orte @@ -29,17 +29,15 @@ ant debug --- -!! Note that in case you haven't renamed the project, in step 7] you should run command: -/platform-tools/adb install -r bin/PublisherActivity-debug.apk - !! Note that there is kind of problem with aapt for some architectures, when running "ant debug" command. On my pc - 32bit, Debian GNU/Linux 7.8 (wheezy), the problem was solved in directory /build-tools/21.1.2 like this: $mv aapt _aapt -$vi aapt -#!/bin/bash -qemu-i386 -cpu n270 -L / /build-tools/21.1.2/_aapt $@ +$cat < aapt +>#!/bin/bash +>qemu-i386 -cpu n270 -L / /build-tools/21.1.2/_aapt $@ +>EOF -Means that aapt is run in qemu. Build then was sucessful. +It means that aapt is run in qemu. Build then was sucessful. diff --git a/orte/contrib/shape_android/project.properties b/orte/contrib/shape_android/project.properties index f5a9ea3..3690b99 100644 --- a/orte/contrib/shape_android/project.properties +++ b/orte/contrib/shape_android/project.properties @@ -11,5 +11,5 @@ #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt # Project target. -target=android-15 +target=android-21 android.library.reference.1=../../libaorte