title: Android ZBar Exception only with Jenkins build
body: <p>I have an android project with a QR scan activity. I use the ZBar library for this: <a href="http://sourceforge.net/projects/zbar/files/AndroidSDK/" rel="noreferrer">http://sourceforge.net/projects/zbar/files/AndroidSDK/</a></p>
  
  <p>If the project is built on a PC or Mac with exlipse, the app works fine.
  If it's build by jenkins (same source from git) the app crashes.</p>
  
  <p>The Exception I get is:</p>
  
  <pre><code>at controller.gui.activity.QRScanActivity.onCreate(Unknown Source)
  at android.app.Activity.performCreate(Activity.java:4465)
  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
  at android.app.ActivityThread.access$600(ActivityThread.java:123)
  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
  at android.os.Handler.dispatchMessage(Handler.java:99)
  at android.os.Looper.loop(Looper.java:137)
  at android.app.ActivityThread.main(ActivityThread.java:4424)
  at java.lang.reflect.Method.invokeNative(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:511)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
  at dalvik.system.NativeStart.main(Native Method)
  Caused by: java.lang.NoSuchFieldError: no field with name='peer' signature='J' in class Lnet/sourceforge/zbar/ImageScanner;
  at net.sourceforge.zbar.ImageScanner.init(Native Method)
  at net.sourceforge.zbar.ImageScanner.&lt;clinit&gt;(Unknown Source)
  ... 16 more
  </code></pre>
  
  <p>I used the demo app for a base.</p>
  
  <p>Is this a Jenkins config problem?</p>
  
  <p>The Zbar library is not just a jar file, it's a C library with jni. So I have a jar file and 3 folders (for different architectures I think) and they have a libiconv.so and a libzbarjni.so files.</p>