android ApplicationInfo.sharedLibraryFiles return null
<p>I have installed an app on emulator, pkg name="com.example.plug". In data/data/com.example.plug/lib, there is a "libplugin1.so" file.</p>

<p>Now I want to get it in my own app.</p>

<p>I get the packageName, and then the "nativeLibraryDir", but when I try to get the <code>String[] sharedLibraryFiles</code>, it returns null to me.</p>

<p>My codes are below:</p>

<pre><code>Log.d(TAG, "pkgName=" + pkgName);// fine com.example.plug

ApplicationInfo appInfo = pm.getApplicationInfo(pkgName, PackageManager.GET_SHARED_LIBRARY_FILES);

Log.d(TAG, appInfo.nativeLibraryDir);       // API 9 /data/data/com.example.plug/lib

String[] soList = appInfo.sharedLibraryFiles;   //null
</code></pre>
