I figure this out after 3 days of research and trying. It turns out
that the ICON specification is different from 2.2 and 1.5. I modify
the icon using photoshop, and save it using PNG-8 preset, and now
everything works fine!!

is there any documentation on what icon specification should be for
different version of android??



On May 30, 4:43 am, Mohammed Hossain Doula <[email protected]>
wrote:
> Please send the Manifest XML file and the layout files along with the string
> XML file...
>
> On Mon, May 30, 2011 at 2:05 PM, Robin Talwar
> <[email protected]>wrote:
>
>
>
>
>
>
>
>
>
> > could your provide the code
>
> > the xml file along with java
>
> > On Fri, May 27, 2011 at 11:41 AM, jesb <[email protected]> wrote:
>
> >> 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
>
> >  --
> > 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
>
> --
> *------------------------------------------
> Mohammed Hossain Doula
> Software Engineer
> desme INC.*
> *www:http://www.hossaindoula.com
> @: [email protected]*
> *facebook:http://www.facebook.com/ROnyWorld*
> *twitter:http://www.twitter.com/hossaindoula*
> *blogspot: hossaindoula.blogspot.com
> GSM: 00880-167-4347101*

-- 
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

Reply via email to