Hello,

sorry we forgot to mention this change in the release notes.

The old mechanism in ADT 0.8 that made you create a project.aidl
(which contained the list of your parcelable classes) is gone.

While it worked, it was not compatible with build with Ant as it
prevented you from creating .aild files for your classes. The new
mechanism is similar to creating aidl files for ant.

It is explained here:
http://developer.android.com/guide/developing/tools/aidl.html
Just ignore the special case of Eclipse/ADT

Basically, on top of creating aild files for your interfaces, you must
create aidl files for your classes that inherits parcelables, and
place them next to the .java file.
(Look in the section "Pass by value Parameters using Parcelables")

Xav

On Tue, Apr 14, 2009 at 9:52 AM, Zach Hobbs <[email protected]> wrote:
>
> I'm attempting to get build my project with the early preview SDK,
> targeting 1.1 and am having problems getting AIDL files to recognize
> imports for Parcelables. In the previous ADT you could right click on
> your project, hit "Android Tools" and have an option something like
> "Generate AIDL for Parcelables".  This would create a file
> project.aidl in your project's root containing a line for each
> Parceable in your project.
>
> With the new SDK/ADT anytime I try to import a Parcelable in an AIDL
> file I get "Couldn't find import for class ... " even though I still
> have the project.aidl file in the project's root.  Also, the option to
> generate the AIDL for the Parcelables is no longer available.  Anyone
> know how to get your Parcelables noticed in the new SDK?
>
> Thanks,
> Zach
> >
>



-- 
Xavier Ducrohet
Android Engineer, Google.

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