Hi:
I also have the problem.
what do you solve it ? 
thank you

在 2011年9月9日星期五UTC+8上午6时17分28秒,Chetan Dhillon写道:
>
> Hi, 
>
> I have a very simple .aidl file that I am getting error compiling. 
>
> Here is my IPresence.aidl: 
>
> package com.sample.presence; 
>
> import com.sample.presence.StatusMessage; 
>
> interface IPresence { 
>         int setStatusMessage(in String msg); 
> } 
>
> I also have StatusMessage.aidl in the package defined as: 
>
> package com.sample.presence; 
>
> parcelable StatusMessage; 
>
> Also StatusMessage.java that defines CREATOR and other methods, 
>
> When I compile this IPresence.aidl, I am getting the following error: 
>
> sh-3.2$ aidl -I. IPresence.aidl 
> IPresence.aidl:1: syntax error 
> IPresence.aidl:1: syntax error don't know what to do with "import" 
> IPresence.aidl:1: syntax error don't know what to do with "import" 
> IPresence.aidl:1: syntax error don't know what to do with 
> "com.sample.presence.StatusMessage" 
> IPresence.aidl:1: syntax error don't know what to do with ";" 
> sh-3.2$ 
>
>
> I did google on these error but could not find any help.  I have 
> another .aidl in another package and that also has imports but that is 
> compiling fine. Any help? 
>
> thanks 
> Chetan

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