<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13.63636302947998px">Hi, VLC Developers,</span><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><br></div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px">

<div>Because system application can't generate "/data/app-lib/[PACKAGE_NAME]/" automatically, this cause application can't find "libvlcjni.so" and crash.</div><div>We need to put library in "/system/lib/". Checking this path, when it can't find library under /data/app-lib.</div>

</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><br></div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px">-------------------------------------------------------------------------------------------------------------------<br>

</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><div>diff --git a/vlc-android/src/org/videolan/libvlc/LibVlcUtil.java b/vlc-android/src/org/videolan/libvlc/LibVlcUtil.java</div><div>index 17b7b62..6e9d557 100644</div>

<div>--- a/vlc-android/src/org/videolan/libvlc/LibVlcUtil.java</div><div>+++ b/vlc-android/src/org/videolan/libvlc/LibVlcUtil.java</div><div>@@ -94,9 +94,13 @@ public class LibVlcUtil {</div><div> </div><div>         ElfData elf = readLib(context.getApplicationInfo().dataDir + "/lib/libvlcjni.so");</div>

<div>         if(elf == null) {</div><div>-            Log.e(TAG, "WARNING: Unable to read libvlcjni.so; cannot check device ABI!");</div><div>-            Log.e(TAG, "WARNING: Cannot guarantee correct ABI for this build (may crash)!");</div>

<div>-            return true;</div><div>+        <span style="white-space:pre-wrap">       </span>// Support system application to using VLC Library</div><div>+        <span style="white-space:pre-wrap">  </span>elf = readLib("system/lib/libvlcjni.so");</div>

<div>+        <span style="white-space:pre-wrap">     </span>if(elf == null) {</div><div>+        <span style="white-space:pre-wrap">           </span>Log.e(TAG, "WARNING: Unable to read libvlcjni.so; cannot check device ABI!");</div>

<div>+        <span style="white-space:pre-wrap">             </span>Log.e(TAG, "WARNING: Cannot guarantee correct ABI for this build (may crash)!");</div><div>+        <span style="white-space:pre-wrap">          </span>return true;</div>

<div>+        <span style="white-space:pre-wrap">     </span>}</div><div>         }</div><div> </div><div>         String CPU_ABI = android.os.Build.CPU_ABI;</div></div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px">

-------------------------------------------------------------------------------------------------------------------</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><br></div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px">

Wish it is useful : )</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><br></div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px">Cheers,</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px">

Samuel</div></div>