android - How to use <uses-library> at AndroidManifest.xml -
if have android app , want use filter android app can installed devices has specific library e.g. /system/lib/libabc.so library not available devices, depends on chips company.
according http://developer.android.com/guide/topics/manifest/uses-library-element.html, can use
i tried adding below line @ androidmanifest.mk , have libabc.so @ /system/lib/
<application android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:debuggable="true"> <uses-library android:name="libabc.so" android:required="true"/> ... </application>
however, still error below installation error: install_failed_missing_shared_library please check logcat output more details. launch canceled!
question: how should put name @ "android:name" correlate required library @ /system/lib/libabc.so ?
Comments
Post a Comment