@lihuazhang 请教一个问题,是用 uiautomatorviewer 查看元素的时候,应该可以看见 webview 的内容,但是我这却看不到,能帮忙解决一下不?
#23 楼 @lihuazhang
这是我的工程文件,代码是 copy 你的教程里面的,
这是.xml 文件内容
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.android_test_demo.test.test"
android:versionCode="32"
android:versionName="32.0" >
<instrumentation
android:name="android.test.InstrumentationTestRunner"
android:targetPackage="com.example.android_test_demo.test.test" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<uses-library android:name="android.test.runner" />
</application>
</manifest>
求教 eclipse 的教程,执行一直失败
[2015-12-02 10:41:44 - lijingwu] ------------------------------
[2015-12-02 10:41:44 - lijingwu] Android Launch!
[2015-12-02 10:41:44 - lijingwu] adb is running normally.
[2015-12-02 10:41:44 - lijingwu] Performing android.test.InstrumentationTestRunner JUnit launch
[2015-12-02 10:41:44 - lijingwu] Automatic Target Mode: using device 'd84e272b'
[2015-12-02 10:41:44 - lijingwu] WARNING: Application does not specify an API level requirement!
[2015-12-02 10:41:44 - lijingwu] Device API version is 19 (Android 4.4.4)
[2015-12-02 10:41:44 - lijingwu] Uploading lijingwu.apk onto device 'd84e272b'
[2015-12-02 10:41:45 - lijingwu] Installing lijingwu.apk...
[2015-12-02 10:41:54 - lijingwu] Success!
[2015-12-02 10:41:54 - lijingwu] Launching instrumentation android.test.InstrumentationTestRunner on d84e272b
[2015-12-02 10:41:54 - lijingwu] Failed to launch test