2011-10-14 24 views
1

我有一臺Galaxy S I9000和Cyanogenmod 7.1。 (安卓2.3.7) 當我嘗試在設備上安裝DEMOKIT我得到:無法獲得Android開放附件套件與Samsung Galaxy S一起使用S I9000/Cyanogenmod 7.1

[2011-10-14 13點01分43秒 - DEMOKIT]安裝錯誤: INSTALL_FAILED_MISSING_SHARED_LIBRARY

從logcat的:

10-14 13:13:30.675:錯誤/ PackageManager(205):包 com.google.android.DemoKit需要不可用的共享庫 com.android.future.usb.accessory;失敗!

但是,它在具有相同分佈的Nexus S上工作。 任何想法?

感謝,

UPDATE

設法安裝。看到鏈接:http://www.google.com/url?sa=D&q=http://forum.cyanogenmod.com/topic/14454-cm7-discussion-of-nightlies/page_st_260&usg=AFQjCNGMBI-09rbdzYZq7AwY-_BZpsiONw

但是,仍然無法獲得DemoKit應用程序與arduino板進行通信。我得到連接USB時的logcat以下:

10-14 21:15:45.313: ERROR/Setting(1451): Intent Action android.intent.action.ACTION_POWER_CONNECTED 10-14 21:15:45.313: ERROR/Setting(1451): Battery charging. plugType =2 10-14 21:15:45.315: ERROR/Setting(1451): Charging is of type USB= 2 10-14 21:15:45.315: ERROR/Settings(1451): [MTP] assume media player mode, USB is connected. 10-14 21:15:45.567: ERROR/OggExtractor(255): readNextPacket err -1004

回答

1

我剛寫的答案,類似的問題可能會幫上你

When I was digging around in the CyanogenMod 7.1 kernel sources for my Galaxy S2 I found that the USB accessory driver missing from kernel 2.6.35.7 (I think the kernel .config flag for this driver is CONFIG_USB_ANDROID_ACCESSORY).

我嘗試了好幾種方法來獲得ADK工作,但唯一的「解決方案」這個問題,我已經成功地獲得工作是切換到的CyanogenMod 9的實驗版本(ICS 4.0.3)

希望這有助於

您可以在這裏閱讀我對完整答案的相關問題: https://stackoverflow.com/a/8831987/1144993

相關問題