Android emulator is not responding to the program

Ok Folks I decided to try this developer thing, and after about a dozen tutorials I finished the following program like Hello World:

package com.example.helloandroid;

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

public class HelloAndroid 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);}
}

Simple enough, so I'm going to compile it, and I get it

[2011-03-14 00:11:25 - HelloAndroid] Android Launch!

[2011-03-14 00:11:25 - HelloAndroid] adb is working fine.

[2011-03-14 00:11:25 - HelloAndroid] Running com.example.helloandroid.HelloAndroid

[2011-03-14 00:11:25 - HelloAndroid] Auto target mode: launch a new emulator with compatible AVD 'my_avd'

[2011-03-14 00:11:25 - HelloAndroid] Launching a new emulator using Virtual Device 'my_avd'

[2011-03-14 00:11:30 - HelloAndroid] New emulator found: emulator-5554

[2011-03-14 00:11:30 - HelloAndroid] HOME ('android.process.acore') ...

, ,

[2011-03-14 08:23:09 - HelloAndroid] Android Launch!

[2011-03-14 08:23:09 - HelloAndroid] adb .

[2011-03-14 08:23:09 - HelloAndroid] com.example.helloandroid.HelloAndroid

[2011-03-14 08:23:09 - HelloAndroid] : -5554 AVD 'my_avd'

[2011-03-14 08:23:09 - HelloAndroid] : API!

[2011-03-14 08:23:09 - HelloAndroid] API- - 7 (Android 2.1-update1)

[2011-03-14 08:23:09 - HelloAndroid] HelloAndroid.apk -5554 '

[2011-03-14 08:23:09 - HelloAndroid] HelloAndroid.apk...

[2011-03-14 08:23:26 - HelloAndroid] !

[2011-03-14 08:23:27 - HelloAndroid] com.example.helloandroid.HelloAndroid -5554

"android" . 3 , "", . , . , , , . :

enter image description here

, - , ?

+3
7

, , .

+3

... , .

- , - . Android .

+2

. , . , , . . , .

+1

. SDK. 3.1, 3.2 2.2 Eclipse, 3 . SDK 3.1 3.2 , 2.2 . , SDK 3. *. ​​ SDK, . : Ubuntu 10.04 Eclipse 3.5.2.

, .

+1

eclipse, run GUI , . , . . .

+1

after receiving the result

HelloAndroid] Starting activity com.example.helloandroid.HelloAndroid on device emulator-5554

on the console, press the menu button and try to see the output

0
source

Try using Genymotion. After registering, you can download the version for Windows / Mac OS X / Linux. A plugin for Eclipse is also available.

I give you the link Genymotion Emulator , please download and configure.

according to my experience, a Genymotion Vertual device is faster than an android emulator.

0
source

All Articles