第一个android程序,每次运行都报错:
Hello does not specify a android.test.InstrumentationTestRunner instrumentation or does not declare uses-library android.test.runner in its AndroidManifest.xml运行时提示:Hello is configured correctly for running tests,See Console for details各位大神麻烦看看。
Hello does not specify a android.test.InstrumentationTestRunner instrumentation or does not declare uses-library android.test.runner in its AndroidManifest.xml运行时提示:Hello is configured correctly for running tests,See Console for details各位大神麻烦看看。
解决方案 »
- cocos2d-x 使用CCBMemberVariableAssigner绑定出错0x00000005
- 求助,为什么setListAdapter(adapter)报错??(有源码)
- android客户端如何判断与http服务器端的连接已经断开
- C++中Android.mk的編写
- android android SurfaceView 画面闪烁问题
- 关于RuntimeException:Adding window failed错误,在线等!
- VideoView播放下载的视频,报不能播放不提示!
- 怎么看一个程序的框架以及逻辑呢
- android 下就不能直接写 mp4 或 3gp 文件?
- Android ANR
- webview的简单问题
- AlertDialog.Builder的使用?
到控制台看
你应该选择Run as-->Android Application 即可.
<instrumentation android:name="android.test.InstrumentationTestRunner"
android:targetPackage="com.xxx.xxx" android:label="Tests for My App" />
其中"com.xxx.xxx"为你测试类所在的包名。