Android应用程序未在avd中执行

时间:2012-12-25 21:38:46

标签: android macos sdk avd

我已经在我的OSX Mountain Lion中安装了Android SDK,来自以下网址 http://developer.android.com/sdk/index.html 只需要解压缩文件以使环境正常工作。

它确实有效,但是当我尝试在avd中执行时,模拟器会打开,但应用程序永远不会出现。

我已尝试使用不同的设备和不同的应用,并执行adb kill-serveradb start-server。但是没有用。

修改

控制台说:

[2012-12-25 22:47:00 - test] Android Launch!
[2012-12-25 22:47:00 - test] adb is running normally.
[2012-12-25 22:47:00 - test] No Launcher activity found!
[2012-12-25 22:47:00 - test] The launch will only sync the application package on the device!
[2012-12-25 22:47:00 - test] Performing sync
[2012-12-25 22:47:00 - test] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'mobile_test_4.1'
[2012-12-25 22:47:00 - test] Uploading test.apk onto device 'emulator-5554'
[2012-12-25 22:47:00 - test] Installing test.apk...
[2012-12-25 22:47:04 - test] Success!
[2012-12-25 22:47:04 - test] /test/bin/test.apk installed on device
[2012-12-25 22:47:04 - test] Done!

1 个答案:

答案 0 :(得分:1)

啊,是的,“没有发现启动器活动”是问题的一个很好的迹象。请参阅What does it mean “No Launcher activity found!”