当我尝试启动应用程序以在模拟器中测试它时,模拟器打开,然后它安装应用程序(根据LogCat,但)它不会运行。我查看了应用程序,但它不在那里。我尝试重新创建模拟器,从AVD Manager启动它,重置ADB等等。这就是当我启动模拟器时LogCat给我的东西:
[2012-05-13 20:25:23 - StickFigure] Launching a new emulator with Virtual Device 'Droid'
[2012-05-13 20:25:27 - Emulator] emulator: emulator window was out of view and was recentered
[2012-05-13 20:25:28 - Emulator]
[2012-05-13 20:25:28 - StickFigure] New emulator found: emulator-5554
[2012-05-13 20:25:28 - StickFigure] Waiting for HOME ('android.process.acore') to be launched...
[2012-05-13 20:26:04 - StickFigure] HOME is up on device 'emulator-5554'
[2012-05-13 20:26:04 - StickFigure] Uploading StickFigure.apk onto device 'emulator-5554'
[2012-05-13 20:26:04 - StickFigure] Installing StickFigure.apk...
[2012-05-13 20:26:28 - StickFigure] Success!
[2012-05-13 20:26:28 - StickFigure] /StickFigure/bin/StickFigure.apk installed on device
[2012-05-13 20:26:28 - StickFigure] Done!
编辑:模拟器可以与我的其他应用程序一起使用。
答案 0 :(得分:2)
首先,请验证运行配置的启动操作是否符合预期(启动默认活动或启动特定活动)。
如果一切正常但活动未启动,您可以尝试从命令行执行此操作:
$ adb shell am start -n your.package/your.package.YourActivity