ADK - USB - Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY
I am trying to run the ADK demo kit code and implement it on my sa开发者_Go百科msung galaxy s 4g that has been updated to firmware version - 2.3.4. The project is called "DemoKitLaunch" and can be downloaded on the "Download" link from the following page, under the topic of Installing the Arduino software and necessary libraries. I have created new project from existing source, made sure that I have the installed and set the project build target of "Google APIs - 2.3.3". The project is able to build and I can run the project on the emulator. However, when trying to run it on my phone I get the error of "INSTALL_FAILED_MISSING_SHARED_LIBRARY" in the logcat.
I found that there are many map projects that are having this problem, but I could only find one thread that talks about a similar issue with the usb and the ADK. In that case the OP was trying to run on a device that was vs. 2.3.3. Mine is 2.3.4 and I am having the problem.
I have made sure that the manifest has included the "".
I have also built and tried to run the microchip version demo project with the same results. Code can be found here.
Any suggestions on resolving the issue?
Any way to verify that my phone hardware is compatible with the ADK hardware requirements?
TIA
We even found the same error. For that you require to do two steps. First you need to copy two files in our mobile using folowing steps: adb push android.hardware.usb.accessory.xml /system/etc/permissions/
adb push com.android.future.usb.accessory.jar /system/framework
but to do that first you have to do second step. you have to be root, once you rooted your phone remount your system folder and then do the first step. http://lgallardo.com/en/2011/03/13/remontar-partici%C3%B3n-system-de-android-en-modo-rw/
The jar and xml file you can pull from google api-10 sdk
We are using Samsung galaxy S. But doing all steps also we are unable to put the mobile in accessory mode. So we are even unsure that samsung galaxy S supports accessory mode or not.
精彩评论