You need move "mp3PlayerInterface.aidl" in the "\mp3\player\" directory if
your declaration package says "mp3.player".
For example, I'll put IMyInterface.aidl in ....\com\ill\IMyInterface.aidl
:
--- content of IMyInterface.aidl ---
package com.ill;
interface IMyInterface {
// methods...
}
Nice regards!
On Thu, Jun 18, 2009 at 4:32 AM, Alex Lv <[email protected]> wrote:
>
> Firstly, I create an aidl file named mp3PlayerInterface.aidl.
> Then I try to use the aidl tool to parsing the aidl-file to java-file.
> The error"mp3PlayerInterface should be declared in a file called com
> \mp3\player\mp3PlayerI
> nterface.aidl."happened no matter use the aidl-command derectly or
> eclipse.
> How to solve this issue?
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---