I've had this problem and building against 2.1 seems to fix it..

On Android 1.5 the app crashes if I build against all other targets
than 2.1...

Best regards, Mads


On May 25, 3:18 pm, Sebastian <[email protected]>
wrote:
> Not quite, I was and I am still building against API 4, and min API is
> 3. After updating the SDK to 2.2 and updating Eclipse Plugin too, it
> stopped working on 1.5. After copying the resources like your
> described it, it worked again on 1.5.
>
> Good to see that there's a solution now.
>
> On May 24, 9:13 pm, Xavier Ducrohet <[email protected]> wrote:
>
>
>
>
>
> > Hi sebastian,
>
> > Let see if I get this straight, you had the following resources:
>
> > drawable-hdpi/
> >    foo.png
> > drawable-mdpi/
> >    foo.png
>
> > you used to build against API 7, but now you are building against API
> > 8, and it started failing to work on 1.5?
>
> > You moved drawable-mdpi/foo.png into drawable/foo.png and now it works on 
> > 1.5?
>
> > Xav
>
> > On Sun, May 23, 2010 at 3:27 AM, sebastian
>
> > <[email protected]> wrote:
> > > Have had the same problems after updating SDK to 2.2 and Android
> > > Eclipse Plugin to newest version,
> > > but haven't changed anything on my project, min SDK version is 3 and
> > > target SDK version 4.
>
> > > The problem was caused by drawables in drawable-hdpi and drawable-mdpi
> > > folders that weren't in the drawable folder.
> > > In my case, copying all drawables from drawable-mdpi to drawable
> > > folder, clean and rebuild project solved the problem!
>
> > > Looks like a bug in Android SDK/Eclipse Plugin, hope Google fixes that.
>
> > > --
> > > 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
>
> > --
> > Xavier Ducrohet
> > Android SDK Tech Lead
> > Google Inc.
>
> > Please do not send me questions directly. Thanks!
>
> > --
> > 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 
> > athttp://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 
> athttp://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

Reply via email to