Your parcelable 'Song': Is that currently defined in your
project.aidl?

If so, this no long works. The inclusion of project.aidl for your own
parcelables was a sdk1.0/1 thing. It's no longer supported in sdk1.5.

Here is how you do this in sdk1.5:
  http://developer.android.com/guide/developing/tools/aidl.html
  and go to the "Pass by value Parameters using Parcelables" section.

On Jun 2, 1:22 pm, cvance383 <[email protected]> wrote:
> ok here is one of the aidl's
>
> package com.grooveshark.android.audio;
>
> import com.grooveshark.android.audio.Song;
>
> interface IAudioEvent
> {
>         int getState();
>         int getEvent();
>         int getSongIndex();
>   Song getSong();
>
> }
>
> and it throws an error saying "couldn't find import for class
> com.grooveshark.android.audio.Song" which exists in the same folder,
> it has never had this problem before 1.5 or the new adt version. There
> is the exact same problem on a similar .aidl. Is that enough
> information? btw the song class is a parcelable.
>
> On Jun 2, 12:30 am, Raphael <[email protected]> wrote:
>
>
>
> > You could start by posting the exact error messages you see.
>
> > R/
>
> > On Mon, Jun 1, 2009 at 5:00 PM, cvance383 <[email protected]> wrote:
>
> > > Hey I've been working on an app for a couple months now. I just
> > > downloaded the sdk and installed the newest plugin. Unfortunately my
> > > app broke after this finished. I have tried setting the build target
> > > to 1.1 and 1.5, still no luck. I believe the problem is stemming from
> > > the .aidl files causing other classes to break. The error in the aidl
> > > files says cannot find import for my Song class, which has worked up
> > > until now. Any ideas? Let me know if posting code or errors will help,
> > > as of now I'm all out of ideas. Thanks for any help or suggestions.
>
> > > Collin- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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