Android ADK USB library not loading

I just started testing the Android ADK, but I can’t get the DemoKit project to install on my phone a development that is Droid X running Android 2.3.3.

When I try to start a DemoKit project using the phone as a device, I get it from the console:

[2011-06-09 17:03:54 - DemoKitLaunch] Installing DemoKitLaunch.apk...
[2011-06-09 17:03:56 - DemoKitLaunch] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY

And a further check of LogCat shows that this is a problem with the com.android.future.usb.accessory library:

06-09 17:08:38.124: ERROR/PackageManager(1320): Package com.google.android.DemoKit requires unavailable shared library com.android.future.usb.accessory; failing!

I tried to change the purpose of the assembly - from Google API 2.3.3 to 3.1, but this does not fix. Google API 3.1 has the com.android.future.usb.accessory library in the .jar file, while API 2.3.3 does not. It does not work with both.

When I run it in the emulator, it installs and runs the DemoKit application just fine, but nothing that I try to do does not install it and does not run on the phone itself.

Help!

+3
source share
2 answers

See http://developer.android.com/guide/topics/usb/adk.html : this requires 2.3.4, not 2.3.3.

+2
source

Since your Droid X is running Android 2.3.3, it does not support the accessory mode that was added to the Android platform in 2.3.4. You cannot use ADK with your Droid X; You will have to stick with the emulator. Unfortunately.

I had the same problem with my Android 2.3.3 device (Coby Kyros MID7015, which I upgraded from Android 2.1 to Android 2.3.3).

+2

All Articles