I am new to Eclipse and Android programming and trying to teach myself how to create android apps.The problem is apps won't run in emulator.
I have installed Eclipse SDK Version: 3.7.2.
I have installed Android SDk and AVD
I have created "HelloWorld" app from Eclipse.
Press F11 to run "HelloWorld.
Mesasge occurs : "The connection to adb is down, and a severe error has occured."
No Android emulator is running.
Check on android sdk directory, adb.exe is there.
Press F11 again,
Android emulator started but "HelloWorld" app is not running
No "HelloWorld" app in app manager either.
I have delete R.java and run again, result is the same (no "HelloWorld" app running).
I have killed adb.exe process and run again, result is the same (no "HelloWorld" app running).
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello" />
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="This is my first Android Application" />
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="And this is a clickable button" />
</LinearLayout>
=====================================================================
please advice how to remedy this.
Additional info:
I have download all packages (+extras) and created the Virtual Device.

Message from Console

Is there something missing?
There is a exclamation mark on line 15 & 20 (indicated in red box) does this cause the problem?

Dear All,
Thanks for advice. After going through the forum, it seems that Android doesn't work well with 64bit application/OS (but some claimed it can work). I am using Win7 64bit + Eclipse 64bits. I am sorry that this information is not provided in the first place, maybe things could be resolve faster.
At the moment, the problem is not solved, I just create a virtual PC (in XP mode) and run everything in 32bit. So far everythings works fine.
Special thanks to AndroDev for continuous help in this problem.
in your eclipse there is a icon for Android VDM. Just click on that icon. After that click on new button. Give the name -->> select the target -->> click on create AVD. after the run your project as Android Application. may this will help you
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With