Android调试技术
1.Log.i(tag,message);
2.Junit单元测试
Step1:在AndroidManifest.xml中天下如下配置信息:
<application>
<uses-libraryandroid:name="android.test.runner"/>
<activity></activity>
</application>
<instrumentationandroid:name="android.test.InstrumentationTestRunner"android:targetPackage="szy.android.activity"android:label="Testing"/>
Step2:编写单元测试方法
publicclassTestCaseextendsAndroidTestCase
{}
3.Debug方法-断点分析
相关推荐
wuzhixiu00 2012-12-27
88570191 2011-08-22
zjwijy 2012-02-05
qingmumu 2011-11-18
CampC 2015-12-23
wuzhixiu00 2016-11-21
86133550 2015-12-23
lxguru 2015-12-08
86133550 2012-07-27
Wicrecend 2012-06-14
leeo00 2012-04-07
wuzhixiu00 2011-03-09
xiaoshengyige 2011-03-08
XPY 2010-10-29
CampC 2010-04-26