1

When I try to run the Hello, Android Activity, it says: emulator: ERROR: no search paths found in this AVD's configuration. And underneath that it says: Weird, the AVD's config.ini file is malformed. Try re-creating it.

I'm stumped and would really appreciate if someone could help me out.

This is what I have for the code:

package my.helloandroid.activity;

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

public class HelloAndroidActivity 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);
       }
}
Samet ÖZTOPRAK
  • 3,112
  • 3
  • 32
  • 33

2 Answers2

0

Three things which came to my mind.

  1. Be sure to check if you have correct path to avd, Window->preferences.
  2. Press right mouse button on your project folder and use android tools -> fix project.
  3. simply restart eclipse.
Orkun
  • 6,998
  • 8
  • 56
  • 103
sebap123
  • 2,541
  • 6
  • 45
  • 81
0

Check the manifest file or look here:

Trouble getting Android emulator to run in eclipse

Community
  • 1
  • 1
Gangnus
  • 24,044
  • 16
  • 90
  • 149