2012年8月14日火曜日

Hello Worldすらうまくいかない……


[2012-08-14 00:07:06 - HelloWorld] ------------------------------
[2012-08-14 00:07:06 - HelloWorld] Android Launch!
[2012-08-14 00:07:06 - HelloWorld] adb is running normally.
[2012-08-14 00:07:06 - HelloWorld] Performing example.android.hello.HelloAndroid activity launch
[2012-08-14 00:07:06 - HelloWorld] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'GoogleAPIs'
[2012-08-14 00:07:06 - HelloWorld] Uploading HelloWorld.apk onto device 'emulator-5554'
[2012-08-14 00:07:07 - HelloWorld] Installing HelloWorld.apk...
[2012-08-14 00:09:14 - HelloWorld] Failed to install HelloWorld.apk on device 'emulator-5554!
[2012-08-14 00:09:14 - HelloWorld] (null)
[2012-08-14 00:09:14 - HelloWorld] Launch canceled!



うーん……


下記とか参考にしてみる。
http://nek-blog.blogspot.jp/2011/07/android-hello-world-app-2.html


追記 2012/08/14 9:54
環境変数Pathにパスを追加するという下記の方法でもダメ。
http://ashurasoft.com/2011/05/01/android-launch-canceld/


追記 2012/08/14 10:41
なんか知らんけど動いた。何度か実行していただけなんですけど。
なんじゃこりゃ?┐(´д`)┌ヤレヤレ

[2012-08-14 10:32:48 - HelloWorld] ------------------------------
[2012-08-14 10:32:48 - HelloWorld] Android Launch!
[2012-08-14 10:32:48 - HelloWorld] adb is running normally.
[2012-08-14 10:32:48 - HelloWorld] Performing example.android.hello.HelloAndroid activity launch
[2012-08-14 10:32:48 - HelloWorld] Automatic Target Mode: launching new emulator with compatible AVD 'GoogleAPIs'
[2012-08-14 10:32:48 - HelloWorld] Launching a new emulator with Virtual Device 'GoogleAPIs'
[2012-08-14 10:33:54 - HelloWorld] New emulator found: emulator-5554
[2012-08-14 10:33:54 - HelloWorld] Waiting for HOME ('android.process.acore') to be launched...
[2012-08-14 10:35:41 - HelloWorld] HOME is up on device 'emulator-5554'
[2012-08-14 10:35:41 - HelloWorld] Uploading HelloWorld.apk onto device 'emulator-5554'
[2012-08-14 10:35:41 - HelloWorld] Installing HelloWorld.apk...
[2012-08-14 10:37:48 - HelloWorld] Success!
[2012-08-14 10:37:49 - HelloWorld] Starting activity example.android.hello.HelloAndroid on device emulator-5554
[2012-08-14 10:37:52 - HelloWorld] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=example.android.hello/.HelloAndroid }



0 件のコメント:

コメントを投稿