Building AllJoyn for Android Not Creating .apk's

asked 2014-06-20 12:06:08 -0700

cs_chance gravatar image

I have built Android Froyo (2.2.3) and am using the emulator, as well as adb and various other tools. After using the following to build AllJoyn with SCons:

scons OS=android CPU=arm ANDROID_NDK=~/Downloads/android-ndk-r9d ANDROID_SRC=~/WORKING_DIRECTORY ANDROID_SDK=~/android/adt-bundle-linux-x86-20140321/sdk BINDINGS=java WS=off

I receive the following (this is after attempting to build before):

scons: Reading SConscript files ...
Building bindings: java
Building services: about
BULLSEYE_BIN not specified
GTEST_DIR not specified skipping common unit test build
BULLSEYE_BIN not specified
GTEST_DIR not specified skipping alljoyn_core unit test build
scons: done reading SConscript files.
scons: Building targets ...
scons: `.' is up to date.
scons: done building targets.

I'm looking for some of the sample .apk's to load onto the phone, but there are none present after building. I have AllJoyn up and running on x86 machines with zero issues, but I'm completely new to Android and assume I'm screwing up something simple.

I've followed the AllJoyn Android Environment Setup Guide from 28-Feb-2014 as closely as possible. Both Froyo and AllJoyn were built with JDK 1.6.0_45 with JUnit 4.11 on 32-bit Ubuntu 13.04.

edit retag flag offensive close merge delete


1 answer

Sort by ยป oldest newest most voted

answered 2014-06-20 16:15:42 -0700

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

You will need to open the samples in eclipse and build them or use the Android command line tools to compile the apk. The SConscripts in the prject are not set up to build the samples applications. Instead of compiling the Android SDK from source you could save some time and headache and download the Android SDK and use the sample applications that are pre-built as part of the packaging step for the SDK release.

You can find the Android SDK today on AllJoyn.org , but this will be moving to the AllSeenAlliance.org site very soon.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2014-06-20 12:06:08 -0700

Seen: 279 times

Last updated: Jun 20 '14