Unless you post your aidl file, it's going to be hard to help you.

Xav

On Thu, Apr 16, 2009 at 1:11 PM, ludovic.perrier <[email protected]> wrote:
>
> finaly it's not good
>
> My building process is infinite and blocked at 24%
> I see that the generated IService.Java (of my Service.aidl) file is
> update each 5 second! and the console display this warning:
>
> [2009-04-16 22:10:41 - MyProject] warning: Ignoring InnerClasses
> attribute for an anonymous inner class that doesn't come with an
> associated EnclosingMethod attribute. (This class was probably
> produced by a broken compiler.)
>
> Please help me...
>
> On 16 avr, 19:12, "ludovic.perrier" <[email protected]> wrote:
>> I have found!
>>
>> When parcelableaidlfile is in other package
>> we must set an import on parcelable class inaidlinterface
>>
>> Happy Codding!
>>
>> On 16 avr, 18:56, "ludovic.perrier" <[email protected]> wrote:
>>
>> > Hello
>>
>> > I have the same problem, and it don't work yet. I have a question, new
>> > mechanism works ifaidlinterface file isn't in same package ofaidl
>> > parcelable class?
>>
>> > Ludo
>>
>> > On 15 avr, 03:34, Xavier Ducrohet <[email protected]> wrote:
>>
>> > > I have just realized something.
>>
>> > > If you create/edit parcelable typeaidlfiles, this does not trigger a
>> > > recompilation of the interfaceaidlfiles that depends on it. In 
>> > > fact,aidlfiles are only recompiled when theaidlfile is touched.
>>
>> > > We'll do a quick fix for the final ADT 0.9 (which will most likely be
>> > > a full recompilation of allaidlfiles whenever 1aidlfile is
>> > > changed), and implement true dependency support later to minimize
>> > > unneeded recompilations.
>>
>> > > Xav
>>
>> > > On Tue, Apr 14, 2009 at 2:02 PM, Xavier Ducrohet <[email protected]> 
>> > > wrote:
>> > > > I just did a quick test following the information in the link I posted
>> > > > above and it is working for me.
>>
>> > > > Make sure youraidlfile declares the package it's in (like any java 
>> > > > class).
>>
>> > > > Xav
>>
>> > > > On Tue, Apr 14, 2009 at 1:05 PM, Xavier Ducrohet <[email protected]> 
>> > > > wrote:
>> > > >> oh I missed this message :(
>>
>> > > >> Let me do a quick test...
>>
>> > > >> On Tue, Apr 14, 2009 at 11:18 AM, Zach Hobbs <[email protected]> 
>> > > >> wrote:
>>
>> > > >>> Some more info:
>>
>> > > >>> - I tried creating anaidlfile with the same name as the Parcelable
>> > > >>> class, and I get an error in the console like: <path to class>/
>> > > >>> <class>.aidl:1 interface <package>.<class> should be declared in a
>> > > >>> file called com.aidl. I tried declaring the Parcelable in com.aidland
>> > > >>> that didn't work either.
>>
>> > > >>> - The documentation in 1.5 onAIDLstill refers to the "Android Tools
>> > > >>>> CreateAidlpreprocess file for Parcelable classes" which is not
>> > > >>> available in ADT 0.9.  Should I open a bug for this?
>>
>> > > >>> Thanks,
>> > > >>> Zach
>>
>> > > >>> On Apr 14, 12:52 pm, 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 gettingAIDLfiles 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
>> > > >>>> "GenerateAIDLfor Parcelables".  This would create a file
>> > > >>>> project.aidlin 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 anAIDL
>> > > >>>> file I get "Couldn't find import for class ... " even though I still
>> > > >>>> have the project.aidlfile in the project's root.  Also, the option 
>> > > >>>> to
>> > > >>>> generate theAIDLfor 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.
>>
>> > > > --
>> > > > Xavier Ducrohet
>> > > > Android Engineer, Google.
>>
>> > > --
>> > > Xavier Ducrohet
>> > > Android Engineer, Google.
>>
>>
> >
>



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