首页 > 移动平台 > 详细

Android Unable to find instrumentation target package

时间:2014-05-31 21:59:14      阅读:634      评论:0      收藏:0      [点我收藏+]
报这个错的话:基本都是配置出错,具体配置看下面。

AndroidManifest.xml  文件:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.mayi.test.dao"
      android:versionCode="1"
      android:versionName="1.0">
    <uses-sdk android:minSdkVersion="8" />
    <application android:icon="@drawable/icon" android:label="@string/app_name">
        <uses-library android:name="android.test.runner"/> <!--不可修改-->
        <activity android:name=".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>
    </application>
    <instrumentation android:name="android.test.InstrumentationTestRunner" <!--不可修改-->
	android:targetPackage="com.mayi.test.dao" <!--跟package包名相同-->
	android:label="Testing"><!--可写可不写-->
	</instrumentation>
</manifest>

Android Unable to find instrumentation target package,布布扣,bubuko.com

Android Unable to find instrumentation target package

原文:http://blog.csdn.net/caiwenfeng_for_23/article/details/27650945

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!