"Hello, Android" fails to display in avd.  AVD displays and animates.
After ~34 minutes get “Failed to install HiDroid.apk”.  Should I not
expect text from “http://developer.android.com/resources/tutorials/
hello-world.html” to display on screen?
Possibly relevant messages are :
WARNING: Unable to create sensors port: Connection refused
HOME is up on device 'emulator-5554' (# after ~34 minutes)
Failed to install HiDroid.apk

#response to adb devices in terminal:
List of devices attached

emulator-5554   device

#Name of process found with ps at terminal
emulator-arm
#Name of tool bar of emulator-arm (shows at top of Unity GUI in Ubuntu
11.10 when avd has focus)
Untitled window
#Name in title bar of process emulator-arm
5554:avd_google_api15
Eclipse 3.7.1 log
[2011-12-28 13:12:17 - HiDroid] ------------------------------
[2011-12-28 13:12:17 - HiDroid] Android Launch!
[2011-12-28 13:12:17 - HiDroid] adb is running normally.
[2011-12-28 13:12:17 - HiDroid] Performing my.namespace.HiDroid
activity launch
[2011-12-28 13:12:17 - HiDroid] Automatic Target Mode: launching new
emulator with compatible AVD 'avd_google_api15'
[2011-12-28 13:12:17 - HiDroid] Launching a new emulator with Virtual
Device 'avd_google_api15'
[2011-12-28 13:12:20 - Emulator] emulator: WARNING: Unable to create
sensors port: Connection refused
[2011-12-28 13:12:20 - HiDroid] New emulator found: emulator-5554
[2011-12-28 13:12:20 - HiDroid] Waiting for HOME
('android.process.acore') to be launched...
[2011-12-28 13:43:05 - HiDroid] HOME is up on device 'emulator-5554'
[2011-12-28 13:43:05 - HiDroid] Uploading HiDroid.apk onto device
'emulator-5554'
[2011-12-28 13:43:05 - HiDroid] Installing HiDroid.apk...
[2011-12-28 13:46:09 - HiDroid] Failed to install HiDroid.apk on
device 'emulator-5554!
[2011-12-28 13:46:09 - HiDroid] (null)
[2011-12-28 13:46:10 - HiDroid] Launch canceled!

Screen graphic of avd continues to animate word ANDROID centered in
simulated screen.  Keypad and buttons respond to mouse position but
not to click.

Code in HiDroid is:
package my.namespace;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class HiDroid extends Activity {
           /** Called when the activity is first created. */
           @Override
           public void onCreate(Bundle savedInstanceState) {
               super.onCreate(savedInstanceState);
               TextView tv = new TextView(this);
               tv.setText("Hello, Android");
               setContentView(tv);
           }
        }

On Dec 22, 2:05 am, snowgoon <[email protected]> wrote:
> Hi all
>
> I keeping getting this message very time i try and run my app. I've
> had my app running but know i keeping get this mess!!
>
> Please please please help!!
>
> Thanks
>
> Snowgoon , PS I've un-installed everything and re stalled (I am going
> tocreatea new work space see what happens) ;-(
>
> [2011-12-22 07:43:53 - Cells] ------------------------------
> [2011-12-22 07:43:53 - Cells] Android Launch!
> [2011-12-22 07:43:53 - Cells] adb is running normally.
> [2011-12-22 07:43:53 - Cells] Performing cells.pack.CellsActivity
> activity launch
> [2011-12-22 07:43:53 - Cells] Automatic Target Mode: Preferred AVD
> 'cell' is not available. Launching new emulator.
> [2011-12-22 07:43:53 - Cells] Launching a new emulator with Virtual
> Device 'cell'
> [2011-12-22 07:44:04 - Emulator] emulator:WARNING:Unabletocreatesensorsport: 
> Unknown error

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to