2013年12月28日 星期六

[Android] 執行專案除錯

1. The following classes could not be found:
- CalendarView (Change to android.widget.CalendarView, Fix Build Path, Edit XML)
- DatePicker (Change to android.widget.DatePicker, Fix Build Path, Edit XML)

→Eclipse layout無法build a preview of DatePicker, 不影響執行

2. logcat顯示
“UnitTestAndLog does not specify a android.test.InstrumentationTestRunner instrumentation or does not declare uses-library android.test.runner in its AndroidManifest.xml”
Run As中错误的选择了目标为Android JUnit Test这项导致的,解决的方法也很简单在Run Dialog中删除JUnit Test这条即可。
http://bbs.csdn.net/topics/360073352

3.

[2014-01-24 00:47:18 - LEDWidget] Failed to install LEDWidget.apk on device '192.168.63.101:5555!
[2014-01-24 00:47:18 - LEDWidget] (null)
[2014-01-24 00:47:18 - LEDWidget] Launch canceled!

timeout值設大
http://rritw.com/a/bianchengyuyan/C__/20120906/218806.html

沒有留言:

張貼留言