Androidroid INSTALL_FAILED_MISSING_SHARED_LIBRARY

This issue is related to snmp4android.jar using Android 3.1

[2013-04-08 14:42:25 - ControlloGiardinoWG] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY
[2013-04-08 14:42:25 - ControlloGiardinoWG] Please check logcat output for more details.
[2013-04-08 14:42:25 - ControlloGiardinoWG] Launch canceled!

in logat:

package ..... requires unavaiable shared library org.snmp4j.CommunityTarget; failing!

but the package was added to the build path, also tried to add to libs, also tried to add assets, tried to clean and build the project with every attempt ...

in the manifest, I declared all the libraries used:

 <uses-library android:name="org.snmp4j.CommunityTarget"/>
        <uses-library android:name="org.snmp4j.PDU"/>
        <uses-library android:name="org.snmp4j.Snmp"/>
        <uses-library android:name="org.snmp4j.TransportMapping"/>
        <uses-library android:name="org.snmp4j.event.ResponseEvent"/>
        <uses-library android:name="org.snmp4j.event.ResponseListener"/>
        <uses-library android:name="org.snmp4j.mp.SnmpConstants"/>
        <uses-library android:name="org.snmp4j.smi.Address"/>
        <uses-library android:name="org.snmp4j.smi.GenericAddress"/>
        <uses-library android:name="org.snmp4j.smi.Integer32"/>
        <uses-library android:name="org.snmp4j.smi.OID"/>
        <uses-library android:name="org.snmp4j.smi.OctetString"/>
        <uses-library android:name="org.snmp4j.smi.UdpAddress"/>
        <uses-library android:name="org.snmp4j.smi.VariableBinding"/>
        <uses-library android:name="org.snmp4j.transport.DefaultUdpTransportMapping"/>

tried to uninstall and reinstall sdk ... where could there be a problem?

+5
source share
1 answer

Solved ... The problem arises due to the fact that for external jars it is not required to declare the library on the manifest ... Deleting on manifests caused in the message solves the problem ...

+9
source

All Articles