惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
宝玉的分享
宝玉的分享
Jina AI
Jina AI
Martin Fowler
Martin Fowler
W
WeLiveSecurity
V
Vulnerabilities – Threatpost
GbyAI
GbyAI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
P
Privacy International News Feed
D
DataBreaches.Net
Security Archives - TechRepublic
Security Archives - TechRepublic
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Scott Helme
Scott Helme
U
Unit 42
Hacker News - Newest:
Hacker News - Newest: "LLM"
Google DeepMind News
Google DeepMind News
酷 壳 – CoolShell
酷 壳 – CoolShell
Vercel News
Vercel News
I
InfoQ
N
Netflix TechBlog - Medium
罗磊的独立博客
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
IT之家
IT之家
雷峰网
雷峰网
Hugging Face - Blog
Hugging Face - Blog
T
Tailwind CSS Blog
S
Securelist
S
Schneier on Security
T
Troy Hunt's Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
C
Cisco Blogs
H
Hacker News: Front Page
Spread Privacy
Spread Privacy
T
Tenable Blog
博客园 - Franky
Apple Machine Learning Research
Apple Machine Learning Research
Recent Commits to openclaw:main
Recent Commits to openclaw:main
D
Darknet – Hacking Tools, Hacker News & Cyber Security
博客园_首页
量子位
AI
AI
L
LINUX DO - 最新话题
J
Java Code Geeks
小众软件
小众软件
爱范儿
爱范儿
月光博客
月光博客
H
Help Net Security
aimingoo的专栏
aimingoo的专栏

博客园 - sleepy

使用Maven自动部署Tomcat 6和Tomcat 7下Web应用 windows 7下命令行修改用户密码 VMWare Workstation 中Guest OS使用Bridge方式上网故障诊断 CSS guideline java下运行windows命令行程序(批处理文件)示例 - sleepy - 博客园 不用安装Oracle Client如何使用PLSQL Developer 新的 好用的 免费的 功能强大的Oracle 客户端 MySQl客户端访问软件 VPC 2007 SP1下安装Windows虚拟机要点(关键字:VM,Virtual PC, 网络,共享文件,windows 2003, vista, Window XP) tomcat 设置初始内存大小(默认的可是太小了,容易内存溢出) - sleepy - 博客园 测试显示内存使用情况的JSP脚本 在Virtual PC 2007 SP1上安装linux ubuntu 810 如何解决eclipse编辑器,console 汉字显示为乱码?? MySQL内置命令导出数据库 iBatis 数据库空值的映射处理 设置MySQL 超时等待时间 Java中访问My SQL如何显示SQL中的汉字 如何高效率修改bug 如何在MySql中记录SQL日志(例如Sql Server Profiler)
Android 下进行单元测试 Test run failed:Instrumentation run failed due to 'java.lang.ClassNotFoundException'
sleepy · 2014-05-27 · via 博客园 - sleepy

废话不说,一直报错。网上介绍的都是缺少如下声明之类。

但注意的是工程配置是导出junit包, 路径为  project上右键 --> properties -> java build path --> order and export --> 选中 junit -->重新编译测试

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="hp.smpf.formddx"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="18" />

<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >

<activity
android:name="hp.smpf.formddx.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<uses-library android:name="android.test.runner" />

</application>

<instrumentation
android:name="android.test.InstrumentationTestRunner"
android:targetPackage="hp.smpf.formddx" />

</manifest>