我正在使用android-studio 0.8.4,手机通过USB连接。
一个应用正常工作很好,调试没有android-studio的麻烦。 在另一个 not-working 应用程序中,当这条消息消失时,它正在等待手机上的调试器握手消息 - 只是appox的黑屏。 30秒然后调试连接丢失(超时),应用程序正常运行,无需调试。
我的第一个想法是我的gradle.build脚本在这些应用之间是不同的。 工作应用只使用jars,而无效应用使用repo网址(这对我来说是新手,不知道如何调用它),如
compile 'de.greenrobot:greendao:1.3.7'
compile 'com.google.inject:guice:4.0-beta:no_aop'
compile 'org.roboguice:roboguice:2.0'
compile 'com.android.support:appcompat-v7:19.+'
这可能是调试器无法工作的原因吗?
感谢。
答案 0 :(得分:1)
从项目中删除roboguice后,调试工作正常。我已经尝试了从v2到v4-beta4的所有机器人/ guice库...