2012-05-14 11 views
2

エミュレータでテストするためにアプリケーションを起動しようとすると、エミュレータが開き、LogCatに基づいてアプリケーションがインストールされますが、実行されません。私はアプリケーションを見ましたが、そこにはありません。エミュレータの再作成、AVDマネージャからの起動、ADBのリセットなどを試みました。AndroidエミュレータがEclipse上でアプリケーションを起動しない

[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! 

編集:私はエミュレータを起動したときに、この何LogCatは私を与えるエミュレータは私の他のアプリで正常に動作します。すべての

+0

あなたはこの答えを見たことがありますか? http://stackoverflow.com/questions/2793956/android-emulator-wont-run-application-started-from-eclipse –

答えて

2

まず、あなたの実行構成起動アクションは、あなたが期待しているものであることを確認してください(起動デフォルトの活動や特定のアクティビティを起動します)。

すべてが正常に見えるが、活動は、コマンドラインからそれをやって試すことができます起動されていない場合:

$ adb shell am start -n your.package/your.package.YourActivity