Reputation: 1710
I have an aidl file:
package com.xyz;
interface ICallback
{
void CallbackMsg(String type, String value1);
}
I have another aidl file:
package com.xyz;
import com.xyz.ICallback;
interface ISendMsg
{
int getPid();
void SendMsg(String value1);
void registerCallBack(ICallback cb);
void unregisterCallBack(ICallback cb);
}
It gives error as: couldn't find import for class com.xyz.ICallback
What am i doing wrong?
Upvotes: 0
Views: 2618
Reputation: 1710
I was copy pasting aidl files from other source and thats why it created a problem. Once I created the aidl files in the project itself, it stopped giving errors?
Upvotes: 1