[Ssc-dev] getting informacam building on jenkins

Hans-Christoph Steiner hans at guardianproject.info
Wed Jun 5 10:51:53 EDT 2013


Hmm, I wonder if all of the library projects need to have the same
targetSdkVersion set in each AndroidManifest.xml.  I hope not, that would be a
pain.

I checked the build machine, all of the available SDKs are installed:

# ls /opt/android-sdk/platforms
android-10  android-12	android-14  android-16	android-3  android-7  android-9
android-11  android-13	android-15  android-17	android-4  android-8


About this other error:
>> /var/lib/jenkins/workspace/InformaCam/external/OnionKit/libonionkit/bin/AndroidManifest.xml:11:
>> error: Error: String types not allowed (at 'configChanges' with value
>> 'locale|screenSize|orientation').

It seems that 'screenSize' is only supported on android-13 and above, and
since OnionKit is marked as android-8 and above, and
http://stackoverflow.com/questions/7899767/admob-error-in-eclipse-for-androidconfigchanges

Mind if I remove 'screenSize'?

.hc

On 06/05/2013 10:18 AM, barbra wrote:
> your target sdks doesn't match on the library you are importing??
> 
> lol. i don't know why i think as a non-android dev I would have an idea.
> 
> 
> On Tue, Jun 4, 2013 at 5:24 PM, Hans-Christoph Steiner <
> hans at guardianproject.info> wrote:
> 
>>
>> In the interest of having automated test builds and automated static tests,
>> I've started working on getting InformaCam building on Jenkins.  Once we
>> have
>> InformaCam itself building, then it should be pretty easy to add full APK
>> builds of JustPayPhone, iWitness, etc.  I've pushed a few commits to
>> IOCipher
>> and InformaCam to fix a couple of issues, here's the actual build process:
>>
>>   git submodule update --init --recursive
>>   ./setup-ant.sh
>>   make -C external/IOCipher/external
>>   ndk-build -C external/IOCipher
>>   ndk-build -C jni/
>>   cd $WORKSPACE/external/android-ffmpeg-java/external/android-ffmpeg/
>>   ./configure_make_everything.sh
>>   ant clean debug
>>
>> I am now stuck on this one with OnionKit:
>>
>> http://localhost:18080/job/InformaCam/5/console
>> -code-gen:
>> [mergemanifest] Merging AndroidManifest files into one.
>> [mergemanifest] Manifest merger disabled. Using project manifest only.
>>      [echo] Handling aidl files...
>>      [aidl] No AIDL files to compile.
>>      [echo] ----------
>>      [echo] Handling RenderScript files...
>> [renderscript] No RenderScript files to compile.
>>      [echo] ----------
>>      [echo] Handling Resources...
>>      [aapt] Generating resource IDs...
>>      [aapt]
>>
>> /var/lib/jenkins/workspace/InformaCam/external/OnionKit/libonionkit/bin/AndroidManifest.xml:6:
>> error: No resource identifier found for attribute 'targetSdkVersion' in
>> package 'android'
>>      [aapt]
>>
>> /var/lib/jenkins/workspace/InformaCam/external/OnionKit/libonionkit/bin/AndroidManifest.xml:11:
>> error: Error: String types not allowed (at 'configChanges' with value
>> 'locale|screenSize|orientation').
>>
>>
>> Any ideas on that one?
>>
>>
>> .hc
>> _______________________________________________
>> Ssc-dev mailing list
>>
>> Post: Ssc-dev at lists.mayfirst.org
>> List info: https://lists.mayfirst.org/mailman/listinfo/ssc-dev
>>
>> To Unsubscribe
>>         Send email to:  Ssc-dev-unsubscribe at lists.mayfirst.org
>>         Or visit:
>> https://lists.mayfirst.org/mailman/options/ssc-dev/blmack%40gmail.com
>>
>> You are subscribed as: blmack at gmail.com
>>
> 


More information about the Ssc-dev mailing list