info: Starting app
info: [ADB] Starting app
"E:\adt-bundle-windows-x86_64-20131030\sdk\platform-tools\adb.exe" -s emulator-5
554 shell am start -n com.example.test/.MainActivity
info: Waiting for app's activity to become focused
info: Getting focused package and activity
info: Getting focused package and activity
error: App never showed up as active. appActivity: .MainActivity t5 != .MainActi
vity
info: [ADB] Sending command to android: {"cmd":"shutdown"}
info: Stopping logcat capture
error: Failed to start an Appium session, err was: Error: App never showed up as
active. appActivity: .MainActivity t5 != .MainActivity
info: Responding to client with error: {"status":6,"value":{"message":"A session
is either terminated or not started (Original error: App never showed up as act
ive. appActivity: .MainActivity t5 != .MainActivity)","origValue":"App never sho
wed up as active. appActivity: .MainActivity t5 != .MainActivity"},"sessionId":"
94c25eb1-edb5-4788-9f37-c4438c6eff22"}
POST /wd/hub/session 500 55296ms - 347
info: Clearing out appium devices
info: [ANDROID] [info] Got data from client: {"cmd":"shutdown"}
info: [ANDROID] [info] Got command of type SHUTDOWN
info: [ANDROID] [info] Returning result: {"value":"OK, shutting down","status":0
}
info: [ADB] Received command result from bootstrap
info: Sent shutdown command, waiting for ADB to stop...
info: [ANDROID] [info] Closed client connection

avd 上的 app 已经起来了
这是什么问题?有人指点一下吗?


↙↙↙阅读原文可查看相关链接,并与作者交流