Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
error compiling .aidl file
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chetan Dhillon  
View profile  
 More options Sep 8 2011, 6:17 pm
From: Chetan Dhillon <chetan.dhil...@gmail.com>
Date: Thu, 8 Sep 2011 15:17:28 -0700 (PDT)
Local: Thurs, Sep 8 2011 6:17 pm
Subject: error compiling .aidl file
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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
shuangjie ke  
View profile  
 More options Oct 11 2012, 4:45 am
From: shuangjie ke <keshuang...@gmail.com>
Date: Thu, 11 Oct 2012 01:45:07 -0700 (PDT)
Local: Thurs, Oct 11 2012 4:45 am
Subject: Re: error compiling .aidl file

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

在 2011年9月9日星期五UTC+8上午6时17分28秒,Chetan Dhillon写道:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »