Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[feature] Not support for Open Accessory Development Kit (ADK) #32
Testing demo app: DemoKit (https://dl-ssl.google.com/android/adk/adk_release_0512.zip)
Installation failed: (adb logcat)
E/PackageManager( 162): Package com.google.android.DemoKit requires unavailable shared library com.android.future.usb.accessory; failing!
Not support? ADK is supported in Android 2.3.4
How to I help you?
Hrm... I think many things are not set up for this functionality.. (kernel, permissions, and build flags)
Will try to correct it over the next few releases.. can't promise everything will work out of box.. but hopefully the protocol can be supported.. thus if you find a device + wires + adapter it might work.
I see you already enabled the option in the kernel config:
But I tried connecting to official hardware but it didn't work:
In the device path:
Could this information in this link help?:
Is there anything I could do to help you getting this achieved?
I built from source, the library was generated in the path: /system/framework and the size and permissions are:
but, I get the same message:
E/PackageManager( 175): Package com.google.android.DemoKit requires unavailable shared library com.android.future.usb.accessory; failing!
Will it be necessary register the library? or anything similar?
Before pulling out too much hair you may wish to install your own build (ie. not just the jar file) if you havn't already and wipe dalvik cache.. could be something got confused.
Otherwise I'm not sure why it doesn’t think the library is installed. I'm not seeing anything at a glance anyway that is missing; The error you are getting is a generic installer error (missing library) and nothing specific to the Open Accessory library. Might want a logcat of the boot after the dalvik wipe to see if there was any issue registering the new library.
I'm working on other aspects atm trying to pull together the next beta.. but let me know if you find something that needs patching.
It's already in my framework:
Just needs to be copied into the output (quick edit):
If DemoKit was installed correctly, the problem must be in arduino.
Please also send me the code that is running on your Arduino.
On Wed, Jan 18, 2012 at 6:47 AM, peppelaz <
My error, read from serial monitor of Arduino, is:
Device addressed... Requesting device descriptor.
tnx for your help.