I am trying to build a library with aidls.
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := test
LOCAL_SRC_FILES := $(call all-java-files-under, java) \
java/com/testapp/Istudent.aidl \
java/com/testapp/Itest.aidl \
LOCAL_PREBUILT_JAVA_LIBRARY := framework.jar
include $(BUILD_JAVA_LIBRARY)
I am trying to refer the Istudent in Itest.
Istudent.aidl
package com.testapp;
parcelable Istudent;
Istudent.java
public class Istudent implements Parcelable{}
Itest.aidl
package com.testapp;
import com.testapp.Istudent;
interface IAP2InterfaceBase {}
But error I receive is E 07-11 20:05:37 71066 71066 aidl.cpp:580] refusing to generate code from aidl file defining parcelable
Kindly let me know what we mean by "refusing to generate code from aidl file defining parcelable" ? And what wrong I am doing here..