I'm very new in developing android.
I'm basically following a book example from Android Development for
dummies. It's just a simple hello world. I didn't even write any code
at all. I just did this from eclipse:
file, new, project, android project, specify android 1.5 target, and
api level 3.
That's it. NO EXTRA CODE!
When i set my app to run in AVD created using Android 2.2, it runs
perfectly.
However, if i create an avd using android 1.5, it won't run at all.
the avd keep on saying
The application hello world(process com.example.android.hello) has
stopped unexpectedly. Please try again.
This is the first warning and 2 error in log cat:
w 988 dalvikvm threadid=3: thread exiting with uncaught exception
E 988 AndroidRuntime Uncaught handler: thread main exiting due to
uncaught exception
E 988 AndroidRuntime java.lang.RuntimeException: Unable to start
activity ComponentInfo{com.example.android.hello/
com.example.android.hello.MainActivity}:
android.view.InflateException: Binary XML file line #7: Error
inflating class java.lang.reflect.Con
E 988 AndroidRuntime at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2268)
Is this because of the java version i installed? I'm running JDK SE
Update 25 - 32 bit version.
I'm running windows 7 -64 bit.
I tried installing 64 bit and removed the 32 bit version, it's still
the same.
Any help would be greatly appreciated. hello world app isn't supposed
to take 2 days to figure out.
--
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