INSTALL_FAILED_MISSING_SHARED_LIBRARY

Author
popsyche
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2011/07/26 15:02:17
  • Location: 0
  • Status: offline
2011/07/26 15:24:03 (permalink)

INSTALL_FAILED_MISSING_SHARED_LIBRARY

That is the error message that I get trying to run the basic Demo app. The best I can tell, I'm missing the library for the class UsbAccesory.java .

Any ideas?
#1

5 Replies Related Threads

    rayortiz
    New Member
    • Total Posts : 4
    • Reward points : 0
    • Joined: 2011/08/12 12:17:06
    • Location: 0
    • Status: offline
    Re:INSTALL_FAILED_MISSING_SHARED_LIBRARY 2011/08/16 13:19:53 (permalink)
    My guess is you need SDK 2.3.4 . My Eclipse/Android only show 2.3.3 even after updates and I have the same problem as you.
    #2
    rayortiz
    New Member
    • Total Posts : 4
    • Reward points : 0
    • Joined: 2011/08/12 12:17:06
    • Location: 0
    • Status: offline
    Re:INSTALL_FAILED_MISSING_SHARED_LIBRARY 2011/08/16 13:36:01 (permalink)
    Go to Project->Property and from a Android 2.3.3 type to Google APIs. That worked for me.
    #3
    heimdall
    New Member
    • Total Posts : 5
    • Reward points : 0
    • Joined: 2007/02/28 16:07:16
    • Location: Belo Horizonte - MG - Brazil
    • Status: offline
    Re:INSTALL_FAILED_MISSING_SHARED_LIBRARY 2011/08/16 20:11:11 (permalink)
    What device do you have. Currently only a handful number of devices can be used to develop accessories.

    The devices must basically run android 2.3.4 or 3.1 but even that it's not enough.

    Besides that the manufacturer or ROM developer (if you're using a custom ROM) must include the necessary APIs in their builds.

    And to make things a little more complicated there are two different APIs that supports the accessory mode:

    - com.android.future.usb
    - android.hardware.usb

    Also there are differences when using one or the other (http://developer.android.com/guide/topics/usb/accessory.html#usage).

    So depending on what API you're going to use you must change your code and maybe the manifest.xml.

    If you wan't to know exactly what library you're missing you should look no further than the logcat, it will tell you exactly what went wrong when you tried to upload the app to the device.


    #4
    Guest
    Super Member
    • Total Posts : 80499
    • Reward points : 0
    • Joined: 2003/01/01 00:00:00
    • Location: 0
    • Status: online
    Re:INSTALL_FAILED_MISSING_SHARED_LIBRARY 2012/11/01 02:19:46 (permalink)
    i read that all 
    i'm using it corectly 
    i did the properties -> google API (2.3.3)
    i have an android 2.3.7
    and i can see the 
    USB.jar under google API folder.. 
    but it steal give me that massage 
    INSTALL_FAILED_MISSING_SHARED_LIBRARY
    and i don't know what to do :(
    #5
    Guest
    Super Member
    • Total Posts : 80499
    • Reward points : 0
    • Joined: 2003/01/01 00:00:00
    • Location: 0
    • Status: online
    Re:INSTALL_FAILED_MISSING_SHARED_LIBRARY 2012/11/01 03:25:36 (permalink)
    i read that all  
    i'm using it corectly  
    i did the properties -> google API (2.3.3) 
    i have an android 2.3.7 
    and i can see the  
    USB.jar under google API folder..  
    but it steal give me that massage  
    INSTALL_FAILED_MISSING_SHARED_LIBRARY 
    and i don't know what to do :( 
    #6
    Jump to:
    © 2017 APG vNext Commercial Version 4.5