ADK 1.0 设备无法与 Jelly Bean 一起使用,为什么? [英] ADK 1.0 devices fail to work with Jelly Bean, why?

查看:25
本文介绍了ADK 1.0 设备无法与 Jelly Bean 一起使用,为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

刚刚将久经考验的真正 ADK 配件连接到 Nexus 7 和 Galaxy Nexus - 连接失败并显示无法读取设备协议版本"消息.认为董事会死了,用 ICS 连接到 Nexus S - 工作得很好.在 Jelly Bean 升级之前也在 Galaxy Nexus 上工作,因此可以排除硬件故障.

Just connected the tried and true ADK accessory to Nexus 7 and Galaxy Nexus - and it failed to connect with "could not read device protocol version" message. Thought that the board died, connected to Nexus S with ICS - worked just fine. Worked on Galaxy Nexus before Jelly Bean upgrade as well, so hardware failure can be ruled out.

我一直在密切关注 ADK 公告,但不记得阅读或听说过有关此特定更改的任何内容,也不记得支持 ADK 2.0 的 Android 设备的向后兼容性.

I've been watching ADK announcements pretty closely, but don't remember reading or hearing anything about this particular change, nor backward compatibility of Android devices supporting ADK 2.0.

Accessory Development Kit 2011 指南说Android 2.3.4 (API级别 10) 及更高版本.Android 4.1(API 级别 16)及更高版本支持协议版本 2",这并不是说 4.1 不支持版本 1,这会很奇怪发现现有的硬件会像那样被放弃.

Accessory Development Kit 2011 Guide says "Protocol version 1 is supported by Android 2.3.4 (API Level 10) and higher. Protocol version 2 is supported by Android 4.1 (API Level 16) and higher", it doesn't say that version 1 is not supported by 4.1, and it would be pretty bizarre to find that existing hardware would be abandoned just like that.

我在这里错过了什么?这是错误还是功能?

What am I missing here? Is this a bug or a feature?

推荐答案

去年发布的旧 ADK1 库无法识别 JellyBean 设备(Android 4.1 及更高版本)所使用的新 AOA v2 协议.这已在更新的 ADK1 库版本中修复.

The old ADK1 libraries released last year don't recognize the new AOA v2 protocol that JellyBean devices (Android 4.1 and up) speak. This was fixed in an updated ADK1 library release.

去获取新的 ADK1 库:

Go get the new ADK1 libraries:

  • http://developer.android.com/tools/adk/adk.html (look for "release_20120606" or higher in the zip download)

更新您的 ADK 库并上传您的 ADK1 草图.请注意,新库已更新为适用于 Arduino 1.0 及更高版本,因此您可能还需要更新 Arduino IDE.

Update your ADK libraries and upload your ADK1 sketch. Note that the new libraries have been updated to work with Arduino 1.0 and higher, so you will probably have to update your Arduino IDE as well.

这篇关于ADK 1.0 设备无法与 Jelly Bean 一起使用,为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆