title: LibVlc android cant load libs
body: <p>I tried to run the example of libvlc.I compiled the vlc to android and copy the sdk library to the project as they wrote.
  <a href="https://bitbucket.org/edwardcw/libvlc-android-sample" rel="nofollow">https://bitbucket.org/edwardcw/libvlc-android-sample</a></p>
  
  <p>and I recive this error</p>
  
  <pre><code> 1236-1236/com.compdigitec.libvlcandroidsample E/VLC/LibVLC﹕ Can't load vlcjni library: java.lang.UnsatisfiedLinkError: Couldn't load vlcjni from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.compdigitec.libvlcandroidsample-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.compdigitec.libvlcandroidsample-1, /system/lib]]]: findLibrary returned null
  </code></pre>
  
  <p>in this lines their is the problem </p>
  
  <pre><code>  try {
             System.loadLibrary("vlcjni");
         } catch (UnsatisfiedLinkError ule) {
             Log.e(TAG, "Can't load vlcjni library: " + ule);
             /// FIXME Alert user
             System.exit(1);
         }
  </code></pre>
  
  <p>under libs/armeabi-v7a I have those files</p>
  
  <pre><code>gdb.setup
  gbdserver
  libiomx-hc.so
  libiomx-gingerbread.so
  libiomx-ics.so
  libvlcjni.so
  </code></pre>
  
  <p>I think that the .so files dont loaded.
  How can I fix this?</p>
  
  <p>I checked in the apk files and their is no dic libs. or any of libvlc files..</p>
  
  <p>this is my build.gradle file</p>
  
  <pre><code> apply plugin: 'com.android.application'
  
    android {
  compileSdkVersion 19
  buildToolsVersion "20.0.0"
  
  defaultConfig {
      applicationId "com.compdigitec.libvlcandroidsample"
      minSdkVersion 7
      targetSdkVersion 17
  }
  
  buildTypes {
      release {
          runProguard false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
      }
      debug {
      }
  }
  
   }
  dependencies {
    compile 'com.android.support:support-v4:18.0.0'
  
  
   }
  </code></pre>
  
  <p>Thanks</p>