单击“Android JUnit Test”运行后会,会出现如下警告:
Warning: No instrumentation runner found for the launch, using
android.test.InstrumentationTestRunne
模拟器不能记住Androidmanifest的配置,在运行时需要重新设置运行配置,如下:
1.在工程名字上点击右键,选择properties
2.在Run/Debug setting列表中删除全部配置,这些配置在每次单击“Android JUnit Test”运行后会自已生成的。
本文介绍了解决在运行Android JUnit测试时遇到的警告问题:“没有找到Instrumentation runner,使用了默认的android.test.InstrumentationTestRunner”。此外,还提供了解决模拟器无法记住AndroidManifest配置的方法。

被折叠的 条评论
为什么被折叠?



