我能够在很长一段时间之前直接调试到我的手机,但最近它似乎无法正常工作
它适用于AVD,但我的设备不能正常工作
当我插入USB时,(不显示调试屏幕)在我的设备上。
我也有了
我的设备是三星Galaxy S 2
Eclips(ADT)来自Android网站
这是控制台上的cordova示例错误消息(对于空项目我也得到相同的错误)
[2014-01-04 22:42:13 - cordovaExample] ------------------------------
[2014-01-04 22:42:13 - cordovaExample] Android Launch!
[2014-01-04 22:42:13 - cordovaExample] adb is running normally.
[2014-01-04 22:42:13 - cordovaExample] Performing org.apache.cordova.example.cordovaExample activity launch
[2014-01-04 22:42:13 - cordovaExample] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
[2014-01-04 22:42:17 - cordovaExample] Uploading cordovaExample.apk onto device '0019d14209756e'
[2014-01-04 22:42:17 - cordovaExample] Installing cordovaExample.apk...
[2014-01-04 22:42:18 - cordovaExample] Installation failed due to invalid APK file!
[2014-01-04 22:42:18 - cordovaExample] Please check logcat output for more details.
[2014-01-04 22:42:18 - cordovaExample] Launch canceled!
并在LogCat中
?:??: W/?(?): Unable to open log device '/dev/log/main': No such file or directory
: E/(): Device disconnected: 1