【问题标题】:Android app not executed in avdAndroid 应用程序未在 avd 中执行
【发布时间】:2012-12-25 21:38:46
【问题描述】:

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

确实可以,但是当我尝试在 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!

【问题讨论】:

  • 首先查看模拟器中是否安装了应用。您也许可以自己运行它(解锁模拟器,转到应用程序列表,点击应用程序)。二、控制台日志是怎么说的?
  • 不,该应用程序没有安装,它没有出现。我已经用日志编辑了消息。

标签: android macos sdk avd


【解决方案1】:

啊,是的,“未找到启动器活动”很好地表明了问题。见What does it mean “No Launcher activity found!”

【讨论】:

    猜你喜欢
    • 2011-02-18
    • 1970-01-01
    • 2013-07-19
    • 1970-01-01
    • 1970-01-01
    • 2014-06-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多