Hi All,
I followed all the instructions to install the android SDK and
configured the Eclipse
environment.
I was then doing the Hello World example. The problem is that when I
run the following code:
"
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);
}
}
"
the emulator starts and after some time, when it fully loads, it
takes
me to the android desktop in the mobile. However my helloword
application never appears! I waited quite a bit after it was fully
loaded but still nothing. I don't get the blackscreen with "Hello,
Android" text on it.
I do recall the following errors that occurred when I created the
HelloAndroid project as per example's instructions:
"
[2009-06-14 01:49:17 - HelloAndroid] no classfiles specified
[2009-06-14 01:49:17 - HelloAndroid] Conversion to Dalvik format
failed with error 1
"
Can anyone help me out please?
Fahd
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---